Except as provided in section , an all-lines insurer shall maintain a minimum surplus to policyholders, as defined in section , of at least two million dollars in the form of capital, if a stock insurance company, or in the form of surplus, if a mutual insurance company, in accordance with sections and , respectively. Such an insurer shall not be subject to section so long as its surplus to policyholders exceeds such minimum. Whenever the surplus to policyholders of such an insurer falls below such minimum, it shall be deemed to be an impaired insurer and shall automatically be subject to section .