Notwithstanding section 16B.24, or other law to the contrary, the board may enter into an agreement with an intermediate school district for the cooperative use of state property for any period of time specified in the agreement.