Article 2395 of the French Civil Code
When a legal mortgage has been registered by application of the preceding article, and unless the marriage contract expressly prohibits it, the spouse benefiting from the registration may consent, in favour of the other spouse’s creditors or his or her own creditors, to an assignment of his or her rank or a subrogation in the rights resulting from its registration. The same applies to a judicial mortgage, guaranteeing maintenance awarded…