Any agreement relating to a lease of any property which comprises or includes a dwelling (whether contained in the instrument creating the lease or not and whether made before the creation of the lease or not) shall be void in so far as it would otherwise have the effect of prohibiting or imposing any restriction on—
Subsection (1) applies to any agreement made after the coming into force of this section.