(c) The powers, functions, obligations, and duties of the regional mental health, mental retardation, and substance abuse boards as they existed on June 30, 2002, are transferred to the department. The department shall succeed to all rights, privileges, entitlements, contracts, leases, agreements, and other transactions of the regional boards which were in effect on June 30, 2002, and none of those rights, privileges, entitlements, contracts, leases, agreements, and other trans-
actions shall be impaired or diminished by reason of such transfer. In all such instances, the department shall be substituted for such regional board and the department shall succeed to the rights and
duties under such contracts, leases, agreements, and other transac-
tions.