Does this set precedent? I don't think I've ever heard anything like this before.
Not in the legal sense; it's not a verdict but simply a restraining order, and it's not from an appellate court. But politically, it probably does. It would be interesting to explore how much judges have done this.