Article 1346-3 of the French Civil Code
Subrogation cannot prejudice the creditor where he has been paid only in part; in that case, he may exercise his rights, in respect of what remains due to him, in preference to the person from whom he has received only partial payment.