Exemptions. (a) Notwithstanding any provision of the general statutes, a mortgagee who acquires title to real estate by virtue of a foreclosure or tender of a deed in lieu of foreclosure, shall not be liable for any assessment, fine or other costs imposed by the state for any spill upon such real estate beyond the value of such real estate, provided such spill occurred prior to the date of acquisi