These can also be issued in anticipation of unlawful conduct by the defendant i.e. to prevent
that harm occurring in the first place - this type of injunction is common in (domestic) violence cases to such an extent that their use has been legislated (codified).