(3) Occupancy of the housing accommodation by the tenant is illegal because of the requirements of law, and the landlord is subject to civil or criminal penalties therefor, or both, provided, however, that such occupancy shall not be considered illegal by reason of violations placed against the housing accommodations or the building in which same are located by any department or agency of the city having jurisdiction unless such department or agency has issued an order requiring the tenants to vacate said accommodation or building or unless such occupancy for such building or such violations relied on by the landlord result from an act, omission or situation caused or created by the tenant; or
(4) The tenant is using or permitting such housing accommodation to be used for an immoral or illegal purpose; or
(5) The tenant who had a written lease or other written rental agreement which terminated or shall terminate on or after May first, nineteen hundred fifty, has refused upon demand of the landlord to execute a written extension or renewal thereof for a further term of like duration not in excess of one year but otherwise on the same terms and conditions as the previous lease except in so far as such terms and conditions are inconsistent with this chapter; or