24E+W+SAny agreement for the letting of land or the grant of a licence in respect of land, where, before the agreement was entered into, the letting or grant was approved [under section 2 of the Act of 1986 or of the Act of 1948 (each of]which relates to the effect of certain lettings and licenses to occupy agricultural land, but excepts lettings and licenses approved [under that section from the operation of that section)]shall be treated for the purposes of section seventeen of this Act as conferring a right to occupy the land to which the agreement relates, if apart from this paragraph it would not be treated as conferring such a right.