How West Australian unions defeated Court’s protest ban