Notwithstanding the provisions of K.S.A. 75-3762 and 75-3765, and amendments thereto, the secretary of corrections shall have the charge, care, management and control of all buildings and grounds owned by the state which are used as a correctional institution as defined by K.S.A. 75-5202, and amendments thereto, except that the charge, care, management and control of buildings and grounds which are the subject of an agreement pursuant to K.S.A. 76-12a24, and amendments thereto, shall be in accordance with such agreement.
K.S.A. 75-52,125