Oh, absolutely bad optics regardless. I had no intent to negate your comment by posting mine. I think I had meant to put it at base level instead of as a response.
The party's sense of optics long ago took a back seat to its cult of subservience and power structure. That may have been somewhat viable back when they could count on the major TV networks and many of the foremost newspapers to mostly give them the type of coverage they would prefer. Things don't work like they used to. And anyone who works for any media at all knows a whole lot of registered Democrats who are beyond fed up with the top-down tactics.
The mayor's pronouns are she/her. But I agree with your point, and so do a very great number of San Francisco residents. The current/upcoming mayoral election is being predictably pushed as a big fight over law and order issues by big-money organizations (a lot of the money coming from silicon valley, outside of SF) and also by corporate-owned local media. The mayor is cynically playing to that tune in her uphill battle to get reelected. As if that weren't bad enough she had to springboard this off of a cruel Supreme court decision at a time when her constituents are mostly disgusted with the court.