The authority may lease nonoperating right-of-way areas to municipalities or other local agencies for public purposes, and may contribute toward the cost of developing local parks and other recreational facilities on those areas. The authority may accept as all or part of the consideration for the lease or for the state contribution any substantial benefits the state will derive from the municipality or other local agency’s undertaking maintenance or landscaping costs that would otherwise be the obligation of the state. Those leases shall contain a provision that whenever the leased land is needed for high-speed rail operating purposes the lease shall terminate. The authority is authorized to classify portions of high-speed rail rights-of-way as
nonoperating.