The ruling means very little in the grand scheme of things, just a bit of egg on the Aussie government's face because it's been ruled they ran a red light in processing his deportation.
They'll just cancel his visa again, and with that he's essentially back to square one. The tournament starts in less than a week, he can't have another few days holded up in a hotel not training. He'll realise it's a fight he won't win and just decide to sod off back to his looney country, milk the being a martyr for the selfish and moronic for all it's worth.
He's not just a thick sportsman, he's an absolute scumbag. Federer and Nadal will always stand way above him in terms of legacy stakes, purely for being far better human beings.