Exempt from the county and tenant right to purchase requirements under section 11C-18 is a transfer:
(1) That is required under a mortgage or deed or trust;
(2) That a mortgage holder requires in order to implement or avoid foreclosure;
(3) That a court orders;
(4) Of a partial interest in undivided property from one part-owner to another;
(5) Of property required under a will or state law to be distributed after death of the owner;
(6) To an agency of state or local government;
(7) To a spouse, son, or daughter;
(8) Made in order to liquidate a partnership or corporation; and
(9) To a partnership or corporation wholly owned by the property owner. (1985 L.M.C., ch. 39, § 1.)