in section 806(a)(2) will be unable to provide benefits when due or is otherwise in a financially hazardous condition, as shall be defined by the Secretary by regulation, the Secretary shall, upon notice to the plan, apply to the appropriate United States district court for appointment of the Secretary as trustee to administer the plan for the duration of the insolvency. The plan may appear as a party and other interested persons may intervene in the proceedings at the discretion of the court. The court shall appoint such Secretary trustee if the court determines that the trusteeship is necessary to protect the interests of the participants and beneficiaries or providers of medical care or to avoid any unreasonable deterioration of the financial condition of the plan. The trusteeship of such Secretary shall continue until the conditions described in the first sentence of this subsection are remedied or the plan is terminated. (b) Powers as Trustee The Secretary, upon appointment as trustee under subsection (a), shall have the power— (1) to do any act authorized by the plan, this title, or other applicable provisions of law to be done by the plan administrator or any trustee of the plan, (2) to require the transfer of all (or any part) of the assets and records of the plan to the Secretary as trustee, (3) to invest any assets of the plan which the Secretary holds in accordance with the provisions of the plan, regulations prescribed by the Secretary, and applicable provisions of law, (4) to require the sponsor, the plan administrator, any participating employer, and any employee organization representing plan participants to furnish any information with respect to the plan which the Secretary as trustee may reasonably need in order to administer the plan, (5) to collect for the plan any amounts due the plan and to recover reasonable expenses of the trusteeship, (6) to commence, prosecute, or defend on behalf of the plan any suit or proceeding involving the plan, (7) to issue, publish, or file such notices,