97. When the use of lands mentioned in paragraph d of section 94 is no longer required, as determined by the Government, such lands shall be transferred in accordance with the terms and conditions provided for in section 18 or 19 according to whether such lands were included within the perimeter of Category IA lands or Category IB lands, the whole subject to the right of use of the holders thereof and subject to the mineral interests granted before 11 November 1975.