Article 2473 of the French Civil Code
The mortgage is transferred ipso jure with the secured claim. The mortgagee may subrogate another creditor in the mortgage and retain his claim. He may also, by an assignment of anteriority, assign his registration rank to a creditor of later rank whose place he takes.