(d) As used in this article, the term "surplus residential property" means land and structures owned by any agency of the state that is determined to be no longer necessary for the agency's use, and that is developed as single-family or multifamily housing, except property being held by the agency for the purpose of exchange.
Surplus residential properties shall only include land and structures that, at the time of purchase by the state, the state had intended to remove the residences thereon and to use the land for state purposes.