SAN FRANCISCO (KCBS) – Stricter enforcement of the employee dress code at San Francisco Superior Court has led to harassment and bullying based on appearance, protesting workers said Thursday.

Employees who show up to the courthouse dressed unprofessionally have been written up, and sometimes sent home to change, after being put on notice in December that casual attire on the clock would no longer be tolerated.

READ MORE: New Facebook Whistleblower Says Executives Shrugged as Algorithm Stoked Hate, Misinformation

That’s led to complaints that rules are being applied inconsistently, with outfits acceptable one week being subject to discipline the next week, said Jean Tualla, a court clerk at the McAllister Street courthouse.

“I feel so anxious, like am I going to get an e-mail? Is someone going to come into the courtroom? Am I going to be approached in front of all these people? Am I going to be sent home again?” she said.

Tualla and other members of the Service Employees International Union rallied outside the courthouse, filling Civic Center with chants of “don’t hate, we look great.”

The SEIU organized the protest after filing allegations of harassment, bullying and intimidation with the Public Employment Relations Board.

Tualla conceded that some employees had often come to work in hoodies and blue jeans, a culture that court spokeswoman Anna Donlan said violates the terms of a dress code adopted in 1996 but sometimes loosely enforced.

READ MORE: CDC Approves Wide Range of Options for COVID Boosters

“The culture of the court had become that it was okay in some instances for people, for some individuals, to come to court in less than professional dress, and that’s unacceptable,” Donlan said.

That dress code calls for a professional appearance at all times, prohibiting beachwear and other kinds of casual dress.

While the protest might resonate with tech workers on the other side of Market Street accustomed to more casual office environments, flip flops send a different message inside an otherwise staid courthouse.

“When you walk into a city building, you want things to look like they’re getting done,” said KCBS and San Francisco Chronicle reporter Phil Matier.

Matier said the tech industry’s generational shift about what is appropriate to wear to the office collided with the public’s perception of how public employees fulfilling official government functions should conduct themselves.

MORE NEWS: Climate Change Disrupting Natural Cycles at Drier Lake Tahoe

“There’s a PR element there. You are greeting the public.”