Novak Djokovic, who is fighting deportation from Australia, tested positive for COVID-19 on 16 December, according to court documents.
The world tennis number one is in immigration detention after having his visa cancelled when he arrived in Melbourne on Thursday.
Djokovic said in his court application that he had a valid visa and medical exemption from the organiser of the Australian Open.
The outspoken critic of mandatory vaccination is currently embroiled in a row over whether he is exempt from the country’s COVID inoculation rules.
The application says he received a document from the Department of Home Affairs on 1 January indicating he met the requirements for quarantine-free travel into Australia.
Reports say Tennis Australia told unvaccinated players they may be able to obtain a temporary exemption if they had recovered from COVID in the past six months, according to a leaked letter.
Tennis Australia said it had not knowingly misled players and had always urged players to get vaccinated.
The guidance issued was based on information on a national government website to which it had been referred by the federal health minister, the association said.
“We have always been consistent in our communications to players that vaccination is the best course of action – not just as the right thing to do to protect themselves and others, but also as the best course of action to ensure they could arrive in Australia,” Tennis Australia said in a statement quoted by local media.
Djokovic is spending a third day in a Melbourne hotel that has doubled up as an immigration detention facility – a couple of miles from the luxury hotels where most Australian Open players are staying.