N.Y. Multiple Dwelling Law § 67
16. a. Notwithstanding any other provision of law to the contrary, within a dwelling to which this section is applicable the use of dwelling units as a hotel for other than permanent residence purposes, as defined in paragraph a of subdivision eight of section four of this chapter, that would otherwise be prohibited shall be permitted to continue for a period of two years after the effective date of this subdivision provided that: