I know very well what an injunction is and does. You seem to be mistaken on what “law” is. It is by no means limited to statutory text or even final judicial opinions.
The fact that contempt of court is the only real penalty available for violating this injunction is exactly why it’s harmful. Making ludicrously broad and unenforceable injunctions like this inevitably corrodes the rule of law and damages the overall system.