Article 1351-1 of the French Civil Code
Where the impossibility of performance results from the loss of the thing due, the debtor put on notice is nevertheless discharged if he proves that the loss would have occurred in the same way if the obligation had been performed. He is, however, bound to assign to his creditor the rights and actions attached to the thing.