A judge has thrown out a legal challenge to the Morrison government’s ban on Australians travelling overseas during COVID-19, saying that Parliament had intended to permit the government to take such “harsh” measures that may “intrude on individual rights” in an emergency.