The government has had a second rebuke in the High Court over its measures to force some of those released from indefinite immigration detention to live under a curfew and wear electronic ankle monitors. The government has played down the loss while human rights advocates say it is a win for the rule of law.