 For example, if the court declared that a proposed rule by a local authority was unlawful, a declaration would resolve the legal position of the parties in the proceedings.Subsequently, if the authority were to proceed ignoring the declaration, the applicant who obtained the declaration would not have to comply with the unlawful rule and the quashing, prohibiting and mandatory orders would be available.An injunction is an order made by the court to stop a public body from acting in an unlawful way.