Article 2460 of the French Civil Code
The third-party purchaser who has paid the mortgage debt, or suffered the seizure of the mortgaged property, has a recourse in warranty under the conditions of ordinary law and a subrogatory recourse against the principal debtor.