(1) A person who has performed an obligation on behalf of the obligor may be subrogated to the rights of the obligee with the consent of the latter, which should be obtained simultaneously with the performance.
(2) The Articles 450 through 452 shall apply mutatis mutandis to the case mentioned in the preceding paragraph.