Notwithstanding anything in this article to the contrary, any purchaser or purchasers at a sale of real or personal property of the authority, whether pursuant to any foreclosure of a mortgage, pursuant to judicial process, or otherwise, shall obtain title subject to any contract made prior to the accrual of the purchaser's right between the authority and a government relating to the supervision by a government of the operation and maintenance of such property and the construction of improvements thereon.
Ala. Code § 24-1-79 (1975)