Rental of the following dwelling units shall not be governed by this chapter, unless the rental agreement thereof is created to avoid the application of this chapter:
(a) dwelling units in owner-occupied premises containing six units or fewer; provided, however, that Sections 5-12-130(j) and 5-12-160 shall apply to every rented dwelling unit in such premises within the City of Chicago;
(b) dwelling units in hotels, motels, inns, bed-and-breakfast establishments, rooming houses and boardinghouses, but only until such time as the dwelling unit has been occupied by a tenant for 32 or more continuous days and tenant pays a monthly rent, exclusive of any period of wrongful occupancy contrary to agreement with an owner. Notwithstanding the above, the prohibition against interruption of tenant occupancy set forth in Section 5-12-160 shall apply to every rented dwelling unit in such buildings within the City of Chicago. No landlord shall bring an action to recover possession of such unit, or avoid renting monthly in order to avoid the application of this chapter. Any willful attempt to avoid application of this chapter by an owner may be punishable by criminal or civil action;
(c) housing accommodations in any hospital, convent, monastery, extended care facility, asylum or not-for-profit home for the aged, temporary overnight shelter, transitional shelter, or in a dormitory owned and operated by an elementary school, high school or institution of higher learning; student housing accommodations wherein a housing agreement or housing contract is entered into between the student and an institution of higher learning or student housing wherein the institution exercises control or supervision of the students; or student housing owned and operated by a tax exempt organization affiliated with an institution of higher learning.
(d) a dwelling unit that is occupied by a purchaser pursuant to a real estate purchase contract prior to the transfer of title to such property to such purchaser, or by a seller of property pursuant to a real estate purchase contract subsequent to the transfer of title from such seller;
(e) a dwelling unit occupied by an employee of a landlord whose right to occupancy is conditional upon employment in or about the premises; and
(f) a dwelling unit in a cooperative occupied by a holder of a proprietary lease.