In civil cases when it is necessary to preserve the status quo prior to trial, the court may issue a preliminary injunction or temporary restraining order ordering, a party to carry out a specified activity.