The federal court has thrown out the state government’s case for work bans and other forms of industrial action to be blocked.