Section 9(6)(c) in The U.P. Basic Education Act, 1972
(c)where any building or part thereof is occupied by a tenant by the Board for the purpose of a basic school immediately before such commencement, the tenancy in respect of such building or part thereof shall, notwithstanding anything contained in any contract, lease or other instrument, stand transferred in favour of the Gram Panchayat, or the Municipality, as the case may be;