The rights, privileges, and duties of the holders of bonds and other obligations issued and of the parties to contracts, leases, indentures, and other transactions entered into before the effective date of a transfer of functions by a reorganization within the executive branch, by the state or by any agency, officer, or employee thereof, and covenants and agreements as set forth therein remain in effect, and none of those rights, privileges, duties, covenants, or agreements are impaired or diminished by reason of the transfer of the functions of an agency or the abolition of an agency. The department or unit which succeeds to the functions of an agency is substituted for that agency and succeeds to its rights and duties under the provisions of those bonds, contracts, leases, indentures, and other transactions.
§ 2-15-135, MCA