Article 2374-5 of the French Civil Code
In the event of default by the debtor, the assignee may set off the amount of the sum assigned, plus any fruits and interest, against the secured claim. Where appropriate, the assignee returns the excess to the assignor.