Last week, Mitchyll Mora, a youth leader at a group called Streetwise and Safe told me about an experience he had last spring, on his way to a poetry reading on the Lower East Side. Dressed in a style he called non-gender-conforming — makeup, boots, long earrings — he was stopped and searched by the police for no reason he could understand. The police made him throw his hands up against the wall, invoked a gay slur and grabbed his buttocks, he said. “I should have tried to file a report, but it’s hard to feel empowered in this kind of situation,” he said.

Mr. Mora did recount this story in testimony to the City Council last October in support of the Community Safety Act, proposed legislation that would, among other things, require police officers to explain themselves to those they have stopped and provide them with a document, including the officer’s name and information on how to file a complaint, if necessary, at the conclusion of a police encounter.

The elasticity that officers in New York and elsewhere have been given to police quality-of-life violations has had the unfortunate effect of leaving transgender women, especially, susceptible to the charge that they must be engaged in sex work. What we have now, in some sense, is an actual fashion police — an attitude among some law enforcers that attaches criminality to sartorial choice. If you are a 35-year-old biological woman wearing the $715 metallic platform peep-toe pumps you just bought at Barneys to lunch at Café Boulud, you are well-dressed; if you were born Joaquin, have changed your name to Marisol and put yourself together with a similar verve, you are a prostitute.