The commissioner shall exercise the power granted by the power of attorney provided for in Section 27-6-7 or otherwise sell any security or asset under any assignment, transfer or conveyance pursuant to Section 27-6-6, only pursuant to, and in accordance with, an order of a court of competent jurisdiction in a proper proceeding or action to which the insurer owning such securities or assets is a party. This section shall not apply as to the special deposits of surety insurers which are subject to Section 27-6-13.