When any insurance company or any corporation having banking powers, or the power to make loans on pledges or deposits, becomes insolvent or unable to pay its debts, or neglects or refuses to pay its notes or evidences of debt on demand, or violates any provision of the act under which it was incorporated, or of any other law obligatory upon it, the court may, by injunction, restrain it and its officers from exercising any of its corporate rights, privileges, and franchises, and from collecting or receiving any debts or demands, and from paying out or in any way transferring or delivering to any person any of its moneys, property, or effects, until otherwise ordered by the court.
Minn. Stat. § 316.12
(8020) RL s 3179