AI Generated Image (not the people or facilities involved in this story)
The Fourth Circuit’s opinion in United States v. Virginia draws one line: states may decide what their own police do with ICE, but may not set rules of conduct for federal officers.
The U.S. Court of Appeals for the Fourth Circuit’s Nov. 23 ruling on Virginia’s two immigration-enforcement laws is now posted, and it explains a split result that this site first reported from news accounts. In United States v. Commonwealth of Virginia, Nos. 26-1874 and 26-2258, Judge Toby J. Heytens, joined by Judge DeAndrea Gist Benjamin, affirmed the preliminary injunction against Virginia’s mask-and-identification law as applied to federal officers, and vacated the injunction against the state’s law setting conditions on local 287(g) agreements with ICE. Judge Robert B. King concurred in the 287(g) ruling and dissented on the mask law. The appeals were argued Oct. 27 and arise from Senior U.S. District Judge Robert E. Payne’s orders in United States v. Virginia, No. 3:26-cv-00545-REP (E.D. Va.).
For lawyers, the opinion is useful less for its outcome than for its method. It treats intergovernmental immunity, not preemption, as the controlling doctrine for both laws, and it applies that doctrine in a way that rewards states that write instructions to their own agencies and penalizes states that write instructions to federal agents.
What the court decided
- 287(g) Law (Va. Code § 15.2-1726.1), No. 26-2258: The Aug. 31, 2026 preliminary injunction, which barred Virginia from interfering with the performance of existing 287(g) agreements, is vacated. The law, signed April 22, 2026, bars local agencies from keeping or renewing agreements that lack 12 state-specified terms and deems existing agreements void unless modified by Sept. 1, 2026 (slip op. at 6, 11).
- Mask/Identity Law (Va. Code § 19.2-83.6:2), No. 26-1874: The injunction first entered June 30, 2026 and corrected Aug. 18 is affirmed. The law, signed May 20, 2026, bars officers, expressly including federal officers, from covering their faces on duty, subject to listed exceptions, and requires a visible badge or insignia with a name or other identifier (slip op. at 7). The court stressed that its holding is limited to federal officers acting in the course of official duties (slip op. at 28–29).
- Posture: Both rulings are preliminary-injunction decisions on likelihood of success. Virginia did not contest standing or ripeness, and the court found both satisfied (slip op. at 9 n.3). Virginia’s older general anti-mask statute, Va. Code § 18.2-422, was not before the court (slip op. at 25–26).
The court’s reasoning
The majority opened with the principle that ties both halves together: “States may not issue orders directly to the Federal Government” (slip op. at 4). It then asked, for each law, whether Virginia was giving orders to Washington or to its own subdivisions.
Issue 1: The 287(g) Law does not directly regulate the federal government
The court held that the 287(g) Law “neither directly regulates the Federal Government” nor prevents private parties from contracting with it (slip op. at 9–10). Its premise is the anti-commandeering rule: the federal government cannot require state or local officers to help enforce federal immigration law, so a state may decide on what terms, if any, its agencies will cooperate. The majority compared Virginia’s conditions to the spending conditions upheld in South Dakota v. Dole, a party offering cooperation on its own terms (slip op. at 11–12).
The court distinguished the two lines of authority the United States relied on, CoreCivic (slip op. at 12–13) and King County (slip op. at 13–14), stressing that Virginia’s law leaves private parties free to contract with the federal government. The majority instead followed the Seventh Circuit’s McHenry County v. Raoul, which upheld Illinois’s ban on local immigration-detention contracts and said withholding cooperation is not discrimination (slip op. at 14–15). Turning the government’s framing around, the court said the United States was effectively “asking a federal court to commandeer state resources” (slip op. at 14).
The district court had relied in part on what it saw as the legislature’s hostile motives. The majority held that was error: motive does not convert a permissible condition on state cooperation into direct regulation of the federal government (slip op. at 15–16).
For reader new to legal terms, a slip opinion is the first, individual version of a court’s written decision released shortly after a ruling is made, before it is compiled into bound law reporters.
Issue 2: No likely Contracts Clause violation
Assuming without deciding that 287(g) agreements are “Contracts” under Article I, Section 10 (slip op. at 16), the court found no substantial impairment. The agreements expressly let either side end them without cause, so the law functioned as a termination notice paired with a counteroffer (slip op. at 17–19). The United States argued that the law cut off agreements’ notice periods, but the court noted that 25 of the 30 agreements had no 90-day notice clause, and that the law took effect 132 days after signing (slip op. at 19–20). In a footnote it warned that any relief on that theory might need to be narrower still (slip op. at 19 n.5).
In the alternative, the court held that even a substantial impairment would be justified, because deciding how a state’s own law-enforcement officers are used is an essential attribute of state sovereignty (slip op. at 20–22). Having found no likelihood of success, it did not reach the other injunction factors for this law (slip op. at 10).
Issue 3: The Mask/Identity Law directly regulates federal officers
On the mask law, the majority said “the specific legal issues before us are not close” (slip op. at 22). The law tells federal officers what they may wear and display while performing federal duties; in the court’s words, “official government conduct is the only thing this law does” (slip op. at 25). That is direct regulation barred by intergovernmental immunity (slip op. at 26).
Virginia argued that Johnson v. Maryland (1920) allows states to apply general rules to federal employees, that the law was really an exception to its long-standing anti-mask statute, and that the burden on federal operations was slight. The majority rejected each point. Johnson‘s “general rules” language does not cover a statute aimed at official conduct (slip op. at 24–25); the new law is separately codified and targets officers on duty (slip op. at 25–26); and “there is no de minimis exception to the rule” (slip op. at 26–27). Applying the rule to Virginia’s own police did not save it (slip op. at 25 n.6). The court relied on the Ninth Circuit’s 2026 decision in United States v. California (slip op. at 26–27).
Two smaller holdings matter for future cases. The court rejected the idea that the United States had to point to clearly established law, in the Harlow qualified-immunity sense, to show likely success (slip op. at 28–29). And federal immigration motives, like Virginia’s legislative motives, were irrelevant (slip op. at 28). On the remaining factors, the court relied on Virginia’s concession of irreparable harm and on circuit precedent that a state is not harmed by being barred from enforcing a likely unconstitutional law (slip op. at 29).
The partial dissent
Judge King agreed the 287(g) injunction should go (slip op. at 31) but would have vacated both. He read the mask law as an ordinary police-power measure with substantial exceptions, emphasized the presumption of constitutionality, and noted that the record showed no written federal masking policy, only an ICE declaration leaving face coverings to individual officers (slip op. at 31–37, 42–43). In his view, Johnson separates state control of federal functions from incidental conduct rules, and this law falls on the permissible side (slip op. at 42–47). He would not have reached the other injunction factors (slip op. at 42, 47 n.4).
What the court rejected or left open
- Preemption: The United States pleaded a preemption count against the 287(g) Law (Count IV), but the opinion resolves the appeal on intergovernmental immunity and the Contracts Clause and does not decide preemption.
- Discrimination prong: The court did not decide whether either law discriminates against the federal government. The district court had not relied on that theory for the mask law because the government’s motion did not press it (slip op. at 26, 27–28 n.7).
- Fourth Amendment and prosecutions: The majority did not address whether the Fourth Amendment limits masked enforcement, and did not try to list when a state could prosecute a federal officer (slip op. at 28).
- Irrevocable promises: The court said it need not decide where the line falls between permissible and impermissible irrevocable state commitments (slip op. at 21).
- The general anti-mask law: Nothing in the ruling addresses Va. Code § 18.2-422 or the mask law’s application to state and local officers.
What it means for practice
For criminal-defense and removal-defense lawyers in Virginia, the 287(g) ruling means county jails may again face the state’s requirement to renegotiate or drop their agreements once the mandate issues. Counsel should track which of the roughly 30 participating agencies modify, terminate or keep their agreements, because that will shape jail screening and detainer practice. Agencies that ignored the Sept. 1 deadline while the injunction was in place may face questions about whether their agreements are now void under state law, a point the opinion does not address.
For policymakers and litigators elsewhere in the circuit, the template is clear. Limits written as conditions on a state’s own agencies, including conditions that ask federal agents to follow state procedures as a price of cooperation, are likely to survive. Rules that bind federal officers directly, such as mask or name-tag mandates, are likely not to, even if they apply equally to state police. That framing aligns the Fourth Circuit with the Seventh Circuit on cooperation limits and with the Ninth Circuit on mask and ID laws. It is also relevant to the Justice Department’s other challenges, including the permanent bar on California’s mask law and the suit over Denver’s mask ban.
Dates and decisions to watch
- Rehearing: Because the United States is a party, petitions for rehearing en banc are due 45 days after judgment, about Jan. 7, 2027. The mandate, and with it the end of the 287(g) injunction, ordinarily follows the rehearing period.
- Supreme Court: Either side may seek a stay of the mandate or file a cert petition; King’s dissent gives Virginia a ready argument on the mask law.
- District court: Further proceedings before Judge Payne in Richmond, including any narrowing of relief on the notice-period theory (slip op. at 19 n.5).
This article is for general information and is not legal advice.
Sources
- United States v. Commonwealth of Virginia, Nos. 26-1874 and 26-2258, published opinion, U.S. Court of Appeals for the Fourth Circuit, Nov. 23, 2026
- Virginia ICE Laws: Fourth Circuit Blocks Mask Ban, Revives 287(g) Limits, Immigration Analytics, Nov. 23, 2026
- Preliminary injunction order on the 287(g) law, U.S. District Court for the Eastern District of Virginia, Aug. 31, 2026
- U.S. Justice Department complaint, United States v. Commonwealth of Virginia, E.D. Va., June 2026