As Twitchy reported last night, a federal judge in Texas put a hold on President Obama’s executive immigration order expanding the Deferred Action for Childhood Arrivals program, a move that now gives states the time to challenge the president in court before millions are granted amnesty.

The White House has since responded to the ruling:

Oh, well that settles it then. The “WH says” so it has to be legal!

If that sounds familiar, maybe because it is:

And let’s not forget that the president had once made the very argument that he didn’t have this authority:

Awkward! The White House has promised an appeal:

Moving forward, last night’s ruling is already affecting the DHS shutdown fight in Congress, with Sen. Ted Cruz hitting Dems for their support of the president:

More from Sen. Cruz’s office:

“The Senate Democrats who are filibustering Department of Homeland Security funding should look hard at this ruling. At a time when we face grave national security threats, at home and abroad, it is the height of irresponsibility for the Democrats to block this funding in an extreme attempt to save Obama’s amnesty, which a federal judge has just declared illegal.”

Full statement via the White House:

The Supreme Court and Congress have made clear that the federal government can set priorities in enforcing our immigration laws—which is exactly what the President did when he announced commonsense policies to help fix our broken immigration system. Those policies are consistent with the laws passed by Congress and decisions of the Supreme Court, as well as five decades of precedent by presidents of both parties who have used their authority to set priorities in enforcing our immigration laws.

The Department of Justice, legal scholars, immigration experts, and the district court in Washington, D.C. have determined that the President’s actions are well within his legal authority. Top law enforcement officials, along with state and local leaders across the country, have emphasized that these policies will also benefit the economy and help keep communities safe. The district court’s decision wrongly prevents these lawful, commonsense policies from taking effect and the Department of Justice has indicated that it will appeal that decision.

Andrew S. Hanen, the judge who made the ruling was appointed by George W. Bush and confirmed by the Senate 97-0 in 2002.

***

Related: