(2) Any receiver, assignee, guardian, conservator, trustee, executor, administrator or other fiduciary or party from whom a policy of guaranty or suretyship is by law required or permitted may agree and arrange with the surety insurer for the deposit for safekeeping of any or all moneys, assets and other property for which the person is or may be responsible in a bank, savings bank, safe deposit or trust company authorized by law to do business as such, in such manner as to prevent the withdrawal or alienation of such money, assets or other property, or any part thereof, without the written consent of the surety insurer or an order of a court of competent jurisdiction or a judge thereof made on such notice to the surety insurer as the court or judge may direct.
(3) Generally, it shall be lawful for a surety insurer to enter into any contract of indemnity or security with any person if such contract is not otherwise prohibited by law or against public policy. [Formerly 747.130 and then 743.741]