California is permanently barred from enforcing its ban on masked law enforcement officers and its identification requirement for officers out of uniform against federal agents, under an injunction that closes the Justice Department's yearlong lawsuit against the state.

Judge Christina A. Snyder of the U.S. District Court for the Central District of California entered the order Tuesday, the New York Post reported, and the Justice Department announced it on Thursday. According to the department, the injunction runs against the state, Gov. Gavin Newsom and Attorney General Rob Bonta, and bars them from enforcing Sections 7288 and 7289 of the California Government Code and Sections 185.5 and 13654 of the Penal Code against the United States, federal law enforcement officers or federal law enforcement agencies. The court kept jurisdiction to carry out and enforce the final judgment, and the suit was dismissed with prejudice under what the department called the parties' final resolution of the litigation. The announcement did not describe any other terms of that resolution.

California did not concede the merits. Its lawyers wrote in a court filing that the "State Defendants continue to dispute the United States' claims," but they agreed to conclude the case rather than pursue further appeals, according to the Post.

The government filed the case in November 2025 against two state laws. From the No Secret Police Act, it challenged the ban on federal officers wearing face coverings and a requirement that agencies adopt written rules. From the No Vigilantes Act, it challenged the requirement that officers who are not in uniform wear identification, along with that law's own written-policy provision, according to a case summary kept by the Civil Rights Litigation Clearinghouse at the University of Michigan Law School. The identification rule is Section 13654 of the Penal Code, and a willful violation is a misdemeanor, Liebert Cassidy Whitmore, a law firm that advises California public agencies, wrote in April.

The permanent order follows a string of interim rulings, most of them in the federal government's favor. In February, Snyder found the face-covering ban likely discriminated against federal officers because it did not apply to state agencies such as the California Highway Patrol, and she blocked its enforcement against them. She declined at the time to halt the identification requirement, concluding the government had not shown it would interfere with federal control of law enforcement operations.

The U.S. Court of Appeals for the Ninth Circuit took a different view. It temporarily blocked the identification rule in February, kept it blocked for the duration of the appeal in April and, on Oct. 14, unanimously reversed Snyder and directed her to issue a preliminary injunction. The appeals court found the government likely to succeed on its claim that the rule violates the Supremacy Clause because it directly interferes with federal law enforcement. It rejected California's argument that applying the clause would hand federal officers immunity from state prosecution without the required showing of necessity, explaining that the immunity at issue belongs to the United States, not to individual officers.

In its suit, the department contended that California's laws kept federal officers from protecting their identities and doing their jobs at a time when, it said, they face an unprecedented wave of harassment, doxxing and even violence. Restrictions on such protective measures, the department argued, also chill enforcement of federal law and compromise sensitive operations.

"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," said Associate Attorney General Stanley E. Woodward Jr., who added that the Constitution "does not permit states to interfere with federal operations or place federal officers and their families at risk."

Jonathan D. Guynn, the acting assistant attorney general for the Civil Division, said the federal government, "not the states, gets to decide what equipment federal officers may use and what measures they may take to protect themselves while performing their official duties." He said the department would keep challenging state and local laws that unlawfully regulate federal operations. The attorney general has directed the Civil Division to identify state and local laws, policies and practices that facilitate violations of federal law or impede lawful federal operations, the department said.

The order, as the department described it, covers enforcement against federal agencies and personnel. In its April guidance, Liebert Cassidy Whitmore told agencies that local officers must still follow the face-covering and identification rules in their own duties.

After the laws' earlier setbacks in court, a spokesperson for Newsom said "these laws shouldn't even be necessary" and criticized President Trump and Stephen Miller over their deportation campaign, the Post reported. The state enacted further laws this year directed at federal immigration agents, including measures that bar ICE agents accused of serious misconduct from state employment and let residents sue ICE officials, and state legislative analysts have warned that this year's rulings could undercut them, according to the Post.