Lol, cute. There is a medical panel that reviews applications for an exemption (details elsewhere in these comments) and they had already approved his application.
I note that those are the same rules for everyone. The government however decided to override the medical panel (and in doing so undermine its independence) because it was politically awkward for the government and in doing so completely unnecessarily detain Djokovic and put him through all of this. It's hugely embarrassing to Australia on the world stage.