Whenever a company agrees to assume and carry out directly with the policyholder any of the policy obligations of the ceding company under a reinsurance agreement, any claim existing or action or proceeding pending arising out of such policy, by or against the ceding company with respect to such obligations may be prosecuted to judgment as if such reinsurance agreement had not been made, or the assuming company may be substituted in place of the ceding company.
215 ILCS 5/176