. . . "As a condition to granting an order vacating or modifying a preliminary injunction or a temporary restraining order, a court may require the defendant, except where the defendant is a public body or officer, t" . .