(1) If the obligor is to pay expenses and interest of one or more obligations, and the person effecting performance has effected insufficient performance to satisfy the entire obligation, such performance shall be appropriated in the order of the expenses, the interest and the principal.
(2) Article 477 shall apply mutatis mutandis to the case mentioned in the preceding paragraph.