(2) In the event of insolvency, or a change in the status of the ceding company as defined in this section, and the appointment of a conservator, liquidator, or statutory successor of the ceding company, the reinsurance shall be payable to the conservator, liquidator, or statutory successor on the basis of claims allowed against the insolvent company by any court of competent jurisdiction or by any conservator, liquidator, or statutory successor of the company having authority to allow those claims, without diminution because of that insolvency or change in status, or because the conservator, liquidator, or statutory successor has failed to pay all or a portion of any claims. Payments by the reinsurer as set forth in this subdivision shall be made directly to the ceding insurer or to its conservator, liquidator, or statutory successor, except where the contract of insurance or reinsurance specifically provides another payee of such reinsurance in the event of the insolvency or change in status of the ceding insurer. The reinsurance contract may provide that the conservator, liquidator, or statutory successor of a ceding insurer shall give written notice of the pendency of a claim against the ceding insurer indicating the policy or bond reinsured, within a reasonable time after such claim is filed and the reinsurer may interpose, at its own expense, in the proceeding in which the claim is to be adjudicated, any defense or defenses which it may deem available to the ceding insurer or its conservator, liquidator, or statutory successor. The expense thus incurred by the reinsurer shall be payable subject to court approval out of the estate of the insolvent ceding insurer as part of the expense of conservation or liquidation to the extent of a proportionate share of the benefit which may accrue to the ceding insurer in conservation or liquidation, solely as a result of the defense undertaken by the reinsurer.