The High Court ruling appeared to contradict an earlier decision by the country’s Federal Court in 2014.