Sources: White House rewriting Trump's controversial travel ban order

Still regrouping from a federal appeals court's refusal to reinstate President Trump's controversial ban of nationals from seven predominantly Muslim countries, White House lawyers are working on a rewrite of his executive order that could pass legal muster, NBC News has learned.

The work began several days before the Ninth U.S. Circuit Court of Appeals shot down the White House's bid to lift a temporary restraining order on Trump's plan to bar nationals from Iran, Sudan, Libya, Somalia, Syria, Iraq and Yemen from entering the country for 90 days, a senior administration official told NBC.

Trump's legal team still believes it will be eventually proven correct on the merits of the current executive order, the official said. And they are looking into several options, including continuing the court battle as well as signing a new immigration EO "very soon."

Several sources close to President Trump told MSNBC's Joe Scarborough that White House lawyers were working on language for the executive order that would be able to find favor with the federal courts.

Trump took to Twitter to voice his outrage Thursday minutes after the three-judge panel decided unanimously not to reinstate the ban.

"It's a political decision and we're going to see them in court," Trump told reporters.

The judges also dismissed Justice Department arguments that presidential decisions about immigration policy related to national security are not subject to legal review.

"There is no precedent to support his claimed unreviewability, which runs contrary to the fundamental structure of our constitutional democracy," the judges wrote.

The ruling came in response to a ruling by a lower-court judge in Seattle who issued a temporary restraining order last Friday that blocked Trump's so-called "travel ban."

The DOJ argued that Trump had the authority to issue the order and that U.S. District Judge James Robart's restraining order was overly broad and a danger to the public.

The three judges on the panel disagreed.

7 PHOTOS
Immigrants released after travel ban
See Gallery
Immigrants released after travel ban
Zabihollah Zarepisheh of Iran (2nd R) smiles after being released from being held in Terminal 4 for over 30 hours as part of Donald Trump's travel ban at John F. Kennedy International Airport in Queens, New York, U.S., January 29, 2017. REUTERS/Andrew Kelly
Iraqi woman Iman Alknfosche is embraced by her daughter Elaf Hussain of New Jersey after she was released by U.S. Immigration and Customs Enforcement (ICE) after arriving at John F. Kennedy International Airport (JFK) New York, January 29, 2017. Alknfosche, who arrived to JFK on Saturday morning, was held for about 30 hours, her attorney Angel Diaz said. REUTERS/Chris Franciscani
Medhi Radgoudarzi, (2nd L), showing his lawyer, Shawn Matloob, his passport after being released from custody at San Francisco International Airport in San Francisco, California, U.S., January 28, 2017. REUTERS/Kate Munsch
Zabihollah Zarepisheh of Iran celebrates after being released from being held in Terminal 4 for over 30 hours as part of Donald Trump's travel ban at John F. Kennedy International Airport in Queens, New York, U.S., January 29, 2017. REUTERS/Andrew Kelly
Iraqi immigrant Hameed Darwish embraces Congresswoman Nydia Velazquez with Congressman Jerrold Nadler (R) after being released at John F. Kennedy International Airport in Queens, New York, U.S., January 28, 2017. REUTERS/Andrew Kelly
Zabihollah Zarepisheh of Iran celebrates after being released from being held in Terminal 4 for over 30 hours as part of Donald Trump's travel ban at John F. Kennedy International Airport in Queens, New York, U.S., January 29, 2017. REUTERS/Andrew Kelly
HIDE CAPTION
SHOW CAPTION
of
SEE ALL
BACK TO SLIDE

After Trump's Jan. 27 executive order went into effect there was near immediate chaos at airports as green card holders, students and professors from the targeted countries were detained and barred from entering the country. Critics accused Trump of engineering an unconstitutional "Muslim ban."

Trump insisted it wasn't.

"This is not about religion," he said. "This is about terror and keeping our country safe. There are over 40 different countries worldwide that are majority Muslim that are not affected by this order."

15 PHOTOS
Trump advocates show support for travel ban
See Gallery
Trump advocates show support for travel ban

Demonstrators in support of the immigration rules implemented by U.S. President Donald Trump's administration, rally at Los Angeles international airport in Los Angeles, California, U.S., February 4, 2017.

(REUTERS/Ringo Chiu)

Pro-Trump demonstrators yell slogans during protest against the travel ban imposed by U.S. President Donald Trump's executive order, at Los Angeles International Airport in Los Angeles, California, U.S., January 29, 2017. REUTERS/Ted Soqui
A counter demonstrator holds a sign up as protesters gather in Battery Park and march to the offices of Customs and Border Patrol in Manhattan to protest President Trump's Executive order imposing controls on travelers from Iran, Iraq, Libya, Somalia, Sudan, Syria and Yemen, January 29, 2017 in New York. / AFP / Bryan R. Smith (Photo credit should read BRYAN R. SMITH/AFP/Getty Images)
Demonstrators watch from an overpass as a counter-protester holds a sign outside Los Angeles International Airport (LAX) during a protest against U.S. President Donald Trump's executive order blocking visitors from seven predominantly Muslim nations in Los Angeles, California, U.S., on Sunday, Jan. 29, 2017. Court decisions temporarily blocked the U.S. administration from enforcing parts of Trump's order after a day in which students, refugees and dual citizens were stuck overseas or detained and some businesses warned employees from those countries not to risk leaving the United States. Photographer: Dania Maxwell/Bloomberg via Getty Images
A counter-protester, right, holds a sign and chants in front of other demonstrators outside Los Angeles International Airport (LAX) protesting against U.S. President Donald Trump's executive order blocking visitors from seven predominantly Muslim nations in Los Angeles, California, U.S., on Sunday, Jan. 29, 2017. Court decisions temporarily blocked the U.S. administration from enforcing parts of Trump's order after a day in which students, refugees and dual citizens were stuck overseas or detained and some businesses warned employees from those countries not to risk leaving the United States. Photographer: Dania Maxwell/Bloomberg via Getty Images

Demonstrators in support of the immigration rules implemented by U.S. President Donald Trump's administration, rally at Los Angeles international airport in Los Angeles, California, U.S., February 4, 2017.

(REUTERS/Ringo Chiu)

Demonstrators in support of the immigration rules implemented by U.S. President Donald Trump's administration, rally at Los Angeles international airport in Los Angeles, California, U.S., February 4, 2017.

(REUTERS/Ringo Chiu)

Demonstrators in support of the immigration rules implemented by U.S. President Donald Trump's administration, rally at Los Angeles international airport in Los Angeles, California, U.S., February 4, 2017.

(REUTERS/Ringo Chiu)

A demonstrator in support of the immigration rules implemented by U.S. President Donald Trump's administration, rallies at Los Angeles international airport in Los Angeles, California, U.S., February 4, 2017.

(REUTERS/Ringo Chiu)

Police officers stand guard as demonstrators in support of the immigration rules implemented by U.S. President Donald Trump's administration, rally at Los Angeles international airport in Los Angeles, California, U.S., February 4, 2017.

(REUTERS/Ringo Chiu)

Demonstrators in support of the immigration rules implemented by U.S. President Donald Trump's administration, rally at Los Angeles international airport in Los Angeles, California, U.S., February 4, 2017.

(REUTERS/Ringo Chiu)

Trump supporters demonstrate against a ruling by a federal judge in Seattle that grants a nationwide temporary restraining order against the presidential order to ban travel to the United States from seven Muslim-majority countries, at Tom Bradley International Terminal at Los Angeles International Airport on February 4, 2017 in Los Angeles, California.

(Photo by David McNew/Getty Images)

Arriving international travelers pass through a line of Trump supporters demonstrating against a ruling by a federal judge in Seattle that grants a nationwide temporary restraining order against the presidential order to ban travel to the United States from seven Muslim-majority countries, at Tom Bradley International Terminal at Los Angeles International Airport on February 4, 2017 in Los Angeles, California.

(Photo by David McNew/Getty Images)

Trump supporters argue with a man (R) who supports a ruling by a federal judge in Seattle that grants a nationwide temporary restraining order against the presidential order to ban travel to the United States from seven Muslim-majority countries, at Tom Bradley International Terminal at Los Angeles International Airport on February 4, 2017 in Los Angeles, California.

(Photo by David McNew/Getty Images)

HIDE CAPTION
SHOW CAPTION
of
SEE ALL
BACK TO SLIDE

But Trump's argument was undercut by trusted adviser Rudy Giuliani who told Fox News Saturday Night that the president had talked to him about imposing a "Muslim ban" and asked his advice on "the right way to do it legally."

Not one of the Al Qaeda terrorists who launched the 9/11 attacks were from any of the seven countries.

Read Full Story

Sign up for Breaking News by AOL to get the latest breaking news alerts and updates delivered straight to your inbox.

Subscribe to our other newsletters

Emails may offer personalized content or ads. Learn more. You may unsubscribe any time.