Except on withdrawal of the insurer from this State, or substitution pursuant to section 12353, assets in the deposit in this State shall be subject to final sale, transfer, and disposal of the proceeds thereof by the commissioner only on the order of a court of competent jurisdiction and for the security and protection of the holders of, or beneficiaries under, the depositing insurers title insurance policies.