Or they can just perform a little magic in their accounting system and designate the vacant unit an “office”, “maintenance room”, “storage”, “janitor’s apartment”, etc. Those don’t count towards vacancy and the city of San Fransisco can’t stop landlords from saying every single vacant unit is a non-revenue unit. Their lender might stop them, but the city can’t.
That’s what the armed 87K new IRS agents are for.