I am pretty sure that correct definition looks like this: A court order to compel or restrain a particular action is called writ of injunction. For example, you have a lawn, and someone deliberately spoils it every day. You can apply to the court for the injunction against this person to deny the access to your lawn for this person.