Notwithstanding anything in this chapter to the contrary, the legislative body may convey, upon such terms and conditions as it determines to be in the public interest, any surplus real property, together with any building thereon, owned by the city which has been determined by the legislative body to be of general historical interest, to an association or society the purpose of which is to research and promote the city's historical heritage or to preserve property of historical interest in the city and which is a nonprofit corporation formed under the laws of this state. Any such conveyance shall contain a condition to the effect that the historical nature of the property be restored, preserved, or both, for the benefit of the citizens of the city, and that title will revert to the city in the event that the association or society conveys the property in question to any person or entity which is not a nonprofit corporation involved with preserving and researching the history of the city.
Ca. Gov. Code § 37361.1