Australian court upholds ban on most international travel