The board of education of a school district which is a part of a joint vocational school district and the board of education of such joint vocational school district may enter into agreements to permit the school buildings of the district first noted to be used for the purposes of carrying on a vocational school program. Such use may be either free of cost or pursuant to such rental arrangements as may be stipulated in such agreements.