; (ii) a final order by the court denying the request for a transfer under section 1185; (iii) 48 hours after the commencement of the case if the court has not ordered a transfer under section 1185; or (iv) the time the case is dismissed. (4) Subsections (d), (e), (f), and (g) of section 362 apply to a stay under this subsection. (b) A debt, executory contract (other than a qualified financial contract), or unexpired lease of the debtor, or an agreement under which the debtor has issued or is obligated for any debt, may be assumed by a bridge company in a transfer under section 1185 notwithstanding any provision in an agreement or in applicable nonbankruptcy law that— (1) prohibits, restricts, or conditions the assignment of the debt, contract, lease, or agreement; or (2) accelerates, terminates, or modifies, or permits a party other than the debtor to terminate or modify, the debt, contract, lease, or agreement on account of— (A) the assignment of the debt, contract, lease, or agreement; or (B) a change in control of any party to the debt, contract, lease, or agreement. (c) (1) A debt, contract, lease, or agreement of the kind described in subparagraph (A) or (B) of subsection (a)(2) may not be accelerated, terminated, or modified, and any right or obligation under such debt, contract, lease, or agreement may not be accelerated, terminated, or modified, as to the bridge company solely because of a provision in the debt, contract, lease, or agreement or in applicable nonbankruptcy law— (A) of the kind described in subsection (a)(1)(B) as applied to the debtor; (B) that prohibits, restricts, or conditions the assignment of the debt, contract, lease, or agreement; or (C) that accelerates, terminates, or modifies, or permits a party other than the debtor to terminate or modify, the debt, contract, lease or agreement on account of— (i) the assignment of the debt, contract, lease, or agreement