No transaction involving real or personal property, investment or reinvestment of funds or assets, or settlement or compromise of pending lawsuits shall be made without first obtaining permission of the court, and then only in accordance with such terms as the court may prescribe, when either of the following exist:
Ca. Fin. Code § 18420.1