However, Australia's immigration minister could still step in to cancel his visa again.
Tennis star Novak Djokovic has successfully appealed against a decision to cancel his visa ahead of the Australian Open.
The world number one, who's believed to be unvaccinated against Covid-19, understood he'd been granted a medical exemption to compete in Melbourne.
A judge has now ruled the decision by border officials to revoke it was unreasonable.
Australia's immigration minister could still step in to cancel his visa again.