US President Donald Trump's spokesman has confirmed the asylum seeker deal with Australia will go ahead, but the refugees would have to clear "extreme vetting" before they are allowed to enter the States.
Australian Prime Minister Malcolm Turnbull announced after his weekend phone call with Mr Trump that the president had agreed to honour the deal.
READ THE UPDATE
Refugee deal confusion: Turnbull says Trump is on board
This was despite the agreement originally being struck by former President Barack Obama and last week Mr Trump placing a temporary ban on refugees being admitted to the US and other strict US border measures targeting seven countries including Iran, Iraq and Syria.
Mr Spicer told reporters at the White House on Tuesday that the deal specifically deals with 1250 people.
"Part of the deal is they have to be vetted in the same manner that we are doing now. There will be extreme vetting applied to all of them," he said.
"The president, in accordance with that deal to honour what had been agreed upon by the US government, and ensuring that vetting will take place in the same manner that we are doing it now, it will go forward."
The refugees are being held on Papua New Guinea's Manus Island and Nauru.
Trump faces wall of resistance to immigration order
US President Donald Trump has crushed the most defiant display yet of official opposition to his immigration and refugee restrictions -- but resistance continued to spread Tuesday, inside and outside the government.
Trump's swift dismissal of acting attorney general Sally Yates for refusing to defend his executive orders capped a night of high drama, Washington-style, that drew comparisons with a flurry of urgent housekeeping by a desperate Richard Nixon at the height of the Watergate scandal.
Trump came out fighting Tuesday morning, accusing Democrats of delaying approval of his nominee for attorney general and the rest of his cabinet.
"They should be ashamed of themselves! No wonder D.C. doesn't work!" Trump wrote on Twitter.
But as Trump defended his sudden executive order barring the entry of people from seven mainly Muslim countries and halting the US refugee resettlement program, challenges were mounting on all sides -- from the United Nations to lawmakers in his Republican Party.
The order has led to the detention of more than 100 people at US airports and mass protests in many cities, and raised howls of protests abroad.
Critics including in Trump's own camp complain that the order is too broad and was rolled out hastily, reportedly without consultation with key officials who would be tasked with overseeing it.
Homeland Security Secretary John Kelly insisted Trump's top advisors were not caught unawares by the unveiling of the order on Friday, saying "high-level folks in the government, attorneys as well" were consulted on the draft.
UN Secretary-General Antonio Guterres nevertheless sharpened his criticism of the ban, saying that "blind measures, not based on solid intelligence, tend to be ineffective."
As former national security officials warned that the order sends exactly the wrong message to Muslims -- that America is at war with them over their faith -- even US diplomats are jumping into the fray in a rare display of dissent in an administration just a week old.
Trump's order bars US entry for travellers from seven mainly Muslim countries -- Iran, Iraq, Libya, Somalia, Sudan, Syria and Yemen -- for 90 days. It also suspends the arrival of all refugees for at least 120 days, and Syrian refugees indefinitely.
Related reading
Dissident US diplomats protest Trump travel ban
The order has also drawn criticism that it amounts to a religious test for refugees aimed at barring entry to Muslims.
"While not explicitly a religious test, it comes close to one which is inconsistent with our American character," Republican Senator Lamar Alexander said.
Several federal judges have since filed temporary stays against the decree's implementation.
On Sunday, attorneys general from 16 US states, including California and New York, condemned Trump's directive as "unconstitutional" and vowed to fight it.
Legal challenges to the ban look set to loom large during confirmation hearings for Trump's Supreme Court nominee, whose name he will unveil on Tuesday night.
Dissent channel
WATCH: Trump's travel ban sparks global backlash
Sessions vote upcoming
Possibly the most dramatic gesture of protest to date came from the country's top law enforcement official, Yates, who instructed Department of Justice attorneys Monday not to defend Trump's immigration ban in court, expressing doubts about its legality and morality.
Trump wasted no time in crushing the rebellion.
Yates -- an Obama appointee held over pending confirmation of Trump's own nominee Jeff Sessions -- was sacked within hours as the White House said she had "betrayed" the administration.
She was replaced as acting attorney general by federal prosecutor Dana Boente, who vowed to defend Trump's directive.
Trump did get a vote of support Tuesday from House of Representatives speaker Paul Ryan, who defended the restrictions as a legitimate way to keep out potential terrorists.
"There is nothing wrong with taking a pause and making sure we had the proper vetting standards in place so that we do not have a problem like France had with Paris," Ryan said, alluding to November 2015 suicide bombings and shootings that left 130 people dead in the French capital.
Related reading
World leaders react to Donald Trump’s immigration ban
Around 48 percent of Americans support a freeze on immigration from "terror prone" regions, even if it means turning refugees away, according to a Quinnipiac poll released Monday.
But challenges to the measure have been mounting on all sides.
At the State Department, diplomats are preparing to use a "dissent channel" to protest the order, reportedly arguing that it will aid jihadist propaganda while offending vital Muslim allies in the fight against terror.
Word of these rumblings drew a scathing riposte from White House spokesman Sean Spicer, who said of the diplomats, "I think they should either get with the program or they can go."
Senior national security officials from the Barack Obama and George W. Bush administrations warned in a letter to top Trump cabinet members that the order will do long-term damage to US national security, calling it a tragically "unnecessary" move that will fuel violent extremist propaganda.
And according to industry sources, a broad coalition of US technology firms -- -- including Google parent Alphabet, Netflix, Airbnb and Twitter -- is planning a joint legal strategy challenging Trump's order, which is expected to have a large impact on a sector that employs thousands of immigrants.