Subject to the provisions of section 7(1), the provisions of this Act shall apply despite anything to the contrary contained in any contract of tenancy; and in case any of the provisions of a contract of tenancy are inconsistent with any of the provisions of this Act, the contract shall be read and construed as to be consistent with the provisions of this Act.