Turnbull said 1,200 refugees from Nauru will not be resettled in the US before president-elect Trump takes office.

Australia’s prime minister said on Monday that resettlement to the US of many of the 1,200 asylum seekers from prisons on Papua New Guinea and the Pacific island of Nauru would begin after president-elect Donald Trump’s inauguration in January.

Whether Trump honours the deal Australia reached with the outgoing Obama administration, and announced earlier this month, will provide an early test of the new president’s anti-immigration stance.

Behind Australia’s tough border policies

Campaigning for the presidency, Trump started by advocating a blanket ban on Muslims entering the US, but later adjusted his stance to propose that the ban should apply to people from nations that had been “compromised by terrorism”.

Australia’s Prime Minister Malcolm Turnbull said on Sunday that the US had agreed to take a “substantial” number of the 1,800 refugees held on Manus Island and Nauru. Many of them are Muslims who have fled conflicts in Iraq, Syria, Afghanistan and Pakistan.

Under Australia’s tough border security laws, asylum seekers intercepted trying to reach the country by boat are sent for processing at detention centres on Papua New Guinea’s Manus island and Nauru under conditions harshly criticised by rights groups as well as the UN.

Former employees from Nauru have also spoken to the media about widespread abuse at the camps, including violence against women and the sexual abuse of children.

The resettlement deal came after Turnbull’s government agreed in September to accept people from Guatemala, Honduras and El Salvador as part of Australia’s annual intake of 18,750 asylum seekers, to support a resettlement plan for Central Americans drawn up by Washington.

Turnbull said on Monday the first refugees to be resettled in the US would not come before the January 20 inauguration of President-elect Trump.

“The process will continue for some months. The United States won’t be short-cutting their security or health checks,” said Turnbull.

Potential Trump veto

Analysts said the timing could prove awkward for Turnbull.

“It looks pretty clear that the resettlement deal was done as a quid pro quo after Australia agreed to resettle Central American refugees,” Peter Chen, professor of political science at the University of Sydney, said.

“But by holding off and starting the process in the expectation that Hillary Clinton would win the US presidency, it gives Trump the ability to reject the deal.”

Over the weekend, Trump said his administration would deport up to three million immigrants in the country illegally who have criminal records. While campaigning, Trump said he would deport 11 million illegal immigrants.

Should Trump veto the deal with Australia, the detainees would be left with the choice of returning to their home countries or remaining in Nauru or Papua New Guinea.

A veto would force Turnbull to search for another country willing to take them while facing growing outrage both at home and internationally over the treatment of the refugees.

Turnbull said he remained confident that the new US administration would stand by the deal, stressing that it didn’t require any increase in the US’s annual intake of asylum seekers.