This was a bad idea.

Virginia Governor Abigail Spanberger is under fire after signing a controversial executive order aimed at restricting how federal immigration agents operate on state property — a move critics say is little more than political theater designed to undermine President Donald Trump’s immigration enforcement agenda.

The order, signed Tuesday, directs Virginia state employees to demand proof of legal authority from federal immigration agents working on Commonwealth-owned property. It also instructs state workers not to allow federal agents to use those locations as staging or processing areas during immigration operations.

The directive would even apply to polling places, raising concerns among conservatives who argue the governor is fueling unnecessary fears about federal law enforcement ahead of future elections.

Supporters of tougher border security blasted the move almost immediately, arguing that Spanberger is attempting to interfere with federal immigration enforcement while appealing to progressive activists.

Hans von Spakovsky, a constitutional scholar with Advancing American Freedom, sharply criticized the executive order and questioned whether the governor has any legal authority to impose restrictions on federal agencies.

“This is political theater,” Spakovsky said.

He explained that federal immigration law does not require immigration officers to obtain warrants in many detention situations, making Spanberger’s directive largely symbolic.

Spakovsky also dismissed concerns about federal agents intimidating voters at polling locations, noting that federal law already places strict limitations on government personnel being present at voting sites unless they are there to cast a ballot themselves.

The controversy erupted after Spanberger spoke at an event hosted by MS Now, where she discussed concerns about how the Trump administration could handle immigration enforcement during future elections.

During the event, Spanberger suggested federal immigration agents could create fear among voters if they appeared near polling locations.

“We’ve seen attempts to pressure and intimidate voters many times throughout our nation’s history,” Spanberger said. “My concern is that those efforts could become even more intense moving forward.”

She later announced plans to issue guidance instructing Virginia state employees on how to respond if federal agents appear at public facilities, including polling locations.

However, critics quickly pointed out a major contradiction.

Earlier this year, Spanberger vetoed legislation that would have outright banned ICE agents from conducting detentions at hospitals, schools, courthouses, and polling places without a judicial warrant or subpoena.

At the time, the governor admitted the proposal would likely face serious legal challenges.

In her veto statement, Spanberger warned the legislation could create legal liability for local officials and law enforcement officers attempting to navigate conflicts between state and federal authority.

Now, conservatives argue her latest executive order is simply another attempt to push the same anti-ICE agenda through executive action instead of legislation.

The battle unfolding in Virginia mirrors similar efforts by Democratic governors in several blue states.

In New York, Governor Kathy Hochul has supported legislation that would limit ICE access to schools, libraries, polling locations, and private residences without a judicial warrant.

Massachusetts Governor Maura Healey has backed similar proposals restricting immigration enforcement near hospitals, churches, schools, and childcare facilities.

Legal experts continue to point out that states generally cannot override federal immigration authority, leaving many of these efforts vulnerable to court challenges.

Homeland Security Secretary Markwayne Mullin strongly condemned Spanberger’s order in comments to Fox News Digital.

“Governor Spanberger continues to put illegal alien criminals ahead of her own citizens,” Mullin said.

The dispute highlights the growing divide between Republican leaders focused on border enforcement and Democratic officials seeking to place new limits on federal immigration operations.

With President Trump continuing to prioritize immigration crackdowns and border security initiatives, the legal and political battles over ICE enforcement are expected to intensify in the months ahead.