Performance may be rendered by a third person, even against the will of the obligee, unless the obligor or the obligee has an interest in performance only by the obligor.
Performance rendered by a third person effects subrogation only when so provided by law or by agreement.
La. C.C. § 1855