Novak Djokovic has been detained in Australia ahead of a court hearing that will determine whether the tennis star can stay in the country unvaccinated.
The Serbian faces deportation after his visa was cancelled for a second time, with the government labelling the 34-year-old a threat to the public, reports BBC.
His lawyers are appealing against what they called an "irrational" judgement, with the hearing set for Sunday.
Djokovic is still scheduled to play the Australian Open on Monday in Melbourne.
If he were to win the tournament for a 10th time, he would become the most successful men's tennis player in the history of the sport with 21 Grand Slam titles.
But Sunday's hearing, which has been scheduled for 09:30 local time (22:30 GMT on Saturday), is crucial if Djokovic is to be able to defend his title just hours later.
If he loses the appeal, the world men's tennis number one faces deportation and a three-year visa ban.
On Saturday, shortly after an online procedural hearing, Djokovic's lawyers confirmed that he had been detained by immigration officers in Melbourne.
At the hearing, Justice David O'Callaghan set the time for Sunday's proceeding but said it was yet to be decided whether it would be heard by a single judge or a full court of three.
Djokovic's visa was first revoked shortly after his arrival in Melbourne on 6 January, after Australian Border Force officials said he had "failed to provide appropriate evidence" to receive a vaccine exemption.
The tennis star was detained for days at an immigration hotel, before his visa was reinstated by a judge, who ordered his release, ruling that border officials ignored correct procedure when he arrived.
But on Friday evening, Immigration Minister Alex Hawke once again cancelled Djokovic's visa under separate powers in Australia's Migration Act.
The act allows him to deport anyone he deems a potential risk to "the health, safety or good order of the Australian community".
Prime Minister Scott Morrison said the decision followed "careful consideration".
Alluding to the heavy criticism his government has faced for allowing the unvaccinated player into Australia, Mr Morrison said: "Australians have made many sacrifices during this pandemic, and they rightly expect the result of those sacrifices to be protected."
Djokovic's legal team say their grounds for appeal will centre on the "invalid" rationale of Mr Hawke's decision, which lawyer Nick Wood said was based on the threat of "exciting anti-vax sentiment".
Mr Wood added that deporting the Serbian player would potentially do the same thing.
Serbian President Aleksandar Vucic, meanwhile, condemned the Australian minister's decision, telling Djokovic in an Instagram message: "Novak, we stand by you."
"If you wanted to ban Novak Djokovic from winning the 10th trophy in Melbourne why didn't you return him immediately, why didn't you tell him 'it is impossible to obtain a visa'?" Mr Vucic added.