An entity that is liable with the debtor and has secured a claim of a creditor against the debtor and pays such claim is considered subrogated to the rights of such creditor to the extent of such payment.
The court subordinates to the claim of a creditor and for the benefit of such creditor an allowed claim, by way of subrogation, or for reimbursement or contribution of an entity that is liable with the debtor on and that has secured such creditor’s claim until such creditor’s claim is paid in full.
A subordination agreement is enforceable in a case to the same extent that such agreement is enforceable under applicable non bankruptcy law.
The court may under principles of equitable subordination, subordinate for purposes of distribution of an allowed claim to another allowed claim and an allowed interest to another allowed interest; or order that any lien securing such a subordinated claim be transferred to the estate.
The payment of interest on a tax claim or on an administrative expense tax, or the payment of interest to allow a creditor to receive the present value of the approved amount of a tax claim, the rate of interest is the rate determined under applicable non bankruptcy law.
In the case of taxes paid under a confirmed plan, the rate of interest is determined as of the calendar month in which the plan is confirmed.