Andrew Castle has criticised the Australian government over their treatment of Novak Djokovic, following his successful appeal to stay in the country.