Without reading all the fine print, I assume that the injunction was granted because in the eyes of US labor law, when the union took a collective action to refuse duty that they as a group have routinely done, it is in fact a form of strike action. If accepting overtime and junior assignments is something they have traditionally accepted, they need a strike mandate (a.k.a. a vote) prior to changing that.