All valid leases and contracts of an abolished county which are in force immediately before the transfer date shall be obligations of the commonwealth as of the transfer date and the commonwealth shall have authority to exercise all rights and enjoy all interests conferred upon the county by said leases and contracts except as may be otherwise provided in this chapter.
All valid leases and contracts of the Suffolk and Berkshire counties' registries of deeds which are in force immediately before July 1, 1999 shall be obligations of the commonwealth as of July 1, 1999 and the commonwealth may exercise all rights and enjoy all interests conferred upon the county by such leases and contracts except as may be otherwise provided in this chapter.
Mass. Gen. Laws ch. 34B, § 7