Notwithstanding any general or specific law to the contrary, whenever any law or whenever any state agency or officer requires that a pledge of money be made to secure the performance of an act or duty, the pledges shall first be approved by the governing or administrating state agency or officer and, upon the written order of the state agency or officer, shall be deposited with the Treasurer in accordance with Sections 16305 to 16305.7, inclusive.
All money deposited with the Treasurer pursuant to this section shall be held by the Treasurer subject to law and the written order or instructions of the state agency or official making or authorizing the deposit and the state shall be responsible for the safe return thereof.
Ca. Gov. Code § 12331