When an order commencing bankruptcy proceedings is issued, any action relating to the bankruptcy estate in which the bankrupt stands as a party is subject to a continuance.
A bankruptcy trustee may take over the action which was subject to a continuance under the provisions of the preceding paragraph which does not relate to any bankruptcy claim. In this case, a petition for taking over the action may also be filed by the opponent.
In the case referred to in the preceding paragraph, the opponent's claim for court costs against the bankrupt is a claim on the estate.
When the bankruptcy proceedings are closed, any action relating to the bankruptcy estate in which a bankruptcy trustee stands as a party is subject to a continuance.
The bankrupt must take over the action which was subject to a continuance under the provisions of the preceding paragraph. In this case, a petition for taking over the action may also be filed by the opponent.
If bankruptcy proceedings are closed before the action which was subject to a continuance pursuant to the provisions of paragraph (1) is taken over under the provisions of paragraph (2), the bankrupt automatically takes over the action.
Read this with the articles around it