WASHINGTON (TNND) — A federal appeals court on Wednesday ruled against a California law that required U.S. Immigration and Customs Enforcement to show visible identification.

The U.S. Court of Appeals for the 9th Circuit remanded the case to a lower court with instructions to enter a preliminary injunction against California, finding in favor of the federal government that the state’s No Vigilantes Act violates the Constitution’s Supremacy Clause, The Hill reported.

The appeals court ruled that the Supremacy Clause “prohibits States from directly regulating federal operations even when regulating state operations in the same manner.”

“In sum, if a state law directly regulates the governmental conduct of the United States without congressional authorization, it is void irrespective of whether the regulated activities are essential to federal functions or operations, and irrespective of the degree to which the state law interferes with such functions or operations,” the court wrote.

California Attorney General Rob Bonta’s (D) office didn’t immediately respond to The Hill’s request for comment.

The Department of Justice sued California and Gov. Gavin Newsom (D) last November after the No Vigilantes Act was signed into law, which required plainclothes law enforcement officers operating in the state to “visibly display identification.”

The law took effect on Jan. 1, and in April, the federal appeals court sided with the DOJ, extending its pause on the law until the case was resolved.

Bonta’s office previously told The Hill that law enforcement requires “transparency and accountability,” and accused the Trump administration of using federal law enforcement to step “well outside the boundaries of normal practice.”

California officials enacted the law in response to ICE raids throughout the state last year, which prompted President Trump to deploy the National Guard to Los Angeles amid protests against federal law enforcement operations in June 2025. A federal judge ordered Trump to end the National Guard deployment last December.