Yes, to be enforceable against third parties, the clause must be recorded in the appropriate registry.
When it pertains to real property, this recording is generally made in the Quebec Land Registry. When it concerns personal property, it may need to be published in the Register of Personal and Real Property Rights (RDPRM), depending on the nature of the property and the applicable rules.