A former Republican congressman says his party would have been up in arms if a Democratic president considered declaring a national emergency over an issue, as President TrumpDonald John TrumpClinton and Ocasio-Cortez joke about Kushner's alleged use of WhatsApp Missouri Gov. declares state of emergency amid severe flooding Swalwell on Hicks testimony: 'She's going to have to tell us who she lied for' in Trump admin MORE threatened to do this week.

Former Rep. Joe Walsh (R-Ill.) tweeted Thursday that Republicans would have been "storming the White House" during if former President Obama ever considered such a plan.

"My side would be storming the White House if Barack ObamaBarack Hussein ObamaPence lobbies anti-Trump donors to support reelection: report The Hill's 12:30 Report: Trump attacks on McCain rattle GOP senators Obama reveals his March Madness bracket MORE ever thought about declaring a national emergency," Walsh wrote.

Trump this week threatened to declare a national emergency to reallocate funding for his border wall.

Republican lawmakers met Trump's plans with skepticism, warning that any declaration of a national emergency over immigration would almost certainly be met with court challenges.


“Although the president does have national emergency declaration powers … this would be a dubious constitutional authority and would clearly be challenged in the courts," Maine Sen. Susan CollinsSusan Margaret CollinsSenate GOP poised to go 'nuclear' on Trump picks Overnight Health Care: CDC pushes for expanding HIV testing, treatment | Dem group launches ads attacking Trump on Medicare, Medicaid cuts | Hospitals, insurers spar over surprise bills | O'Rourke under pressure from left on Medicare for all Dem group launches ads attacking Trump's 'hypocrisy on Medicare and Medicaid cuts' MORE (R) told reporters this week.

“I just don’t think you can repurpose more than $5 billion from the defense budget for purposes unrelated to what the money was appropriated for," she added.

Other Republicans in the Senate concurred, questioning whether such a strategy would truly be faster than the White House reaching a deal on immigration reform and border security with Congress.

“I think it adds new layers of complexity because we know the first thing that will happen is somebody will file a lawsuit, and it won’t be resolved for weeks, maybe months, maybe even years,” Texas Sen. John CornynJohn CornynSenate GOP poised to go 'nuclear' on Trump picks GOP rep to introduce constitutional amendment to limit Supreme Court seats to 9 Court-packing becomes new litmus test on left MORE (R) said.

The federal government's partial shutdown, which was sparked by an impasse over funding for a border wall, is in its 20th day with no resolution in sight.