Key facts
A federal judge in Los Angeles issued an injunction this week barring California from enforcing laws requiring federal agents to wear identification and show their faces.1
The order came a year to the day after the Trump administration sued the state, saying two laws passed in the wake of aggressive federal immigration enforcement sweeps were unconstitutional.1
The No Vigilantes Act, which banned federal officers from wearing face masks except in certain circumstances, and the No Secret Police Act, which required federal agents to wear identification, were signed by Gov. Gavin Newsom in September 2025, after numerous raids were conducted in the state by agents wearing masks and not displaying badges.1
By not clearly identifying themselves, the agents were terrifying state residents and evading accountability for their actions during the raids, supporters of the two laws said.1
What the federal government said
The Trump administration sued, saying the state was interfering in federal law enforcement operations and putting its agents in danger.1
In court, lawyers for the administration cited incidents of protesters harassing federal agents or doxxing them by publicly releasing their names and addresses.1
Appeals court rules against the laws
Last month, the 9th Circuit Court of Appeals ruled that the two laws violated the supremacy clause of the U.S. Constitution, which bars states from regulating the activity of the federal government.1
The three-judge panel overturned an earlier ruling by Christina A. Snyder, which had allowed the state’s requirement that agents wear badges to stand.1
Snyder had already ruled against the state’s mask ban, agreeing that it discriminated against the federal government.1
A slightly broader version of the mask ban
In anticipation of the outcome, California legislators put together a slightly broader version of the mask ban, removing the exemption for state police.1
The 2026 version of the law, SB 1004, or the No Secret Police Act, requires state and local law enforcement to develop and display mask policies.1
State Sen. Scott Wiener, D-San Francisco, is the author of this year’s version.1
Final injunction against enforcement
In a statement filed in Snyder’s court last week, lawyers for California said officials continue to dispute the federal government’s claims that its laws violated the Constitution or put agents in danger.1
The state agreed to abide by an order barring it from implementing the two laws.1
On Tuesday, Snyder issued a final injunction against enforcement of the laws and dismissed the case.1
“It’s problematic when Californians can’t tell the difference between a law enforcement officer who is charged with protecting them and a criminal who is attempting to cause them harm,” said California Attorney General Rob Bonta last year.1
“Today’s permanent injunction confirms a basic constitutional principle: states do not have the authority to regulate the federal government or dictate how federal law enforcement officers perform their official duties,” Associate Attorney General Stanley E. Woodward, Jr. said.1

