10ants, that doesn't get around the pet law at all, unless the lease also has a provision prohibiting pets (in which case the two sections of the lease would be completely contradictory).
The open and notorious route is there to ensure that the landlord can't suddenly start enforcing a prohibition in the lease that had been ignored for months or years, forcing a tenant to decide between keeping his long-standing pet, and his apartment.