Not that SF isn't already a ghost town tho.
CALIFORNIA HEALTH AND SAFETY CODE DIVISION 105. COMMUNICABLE DISEASE PREVENTION AND CONTROL
https://leginfo.legislature.ca.gov/faces/codes_displayexpand...
Laws are a social construct. I doubt any judge (which are elected by the populace in California) is going to issue an injunction against this.
Not that SF isn't already a ghost town tho.