529. In a judicial review, the Superior Court may, depending on the subject matter,(1) declare inapplicable, invalid or inoperative a provision of an Act of the Parliament of Québec or the Parliament of Canada, a regulation made under such a law, an order in council, a minister’s order or any other rule of law;
(2) evoke, on a party’s application, a case pending before a court, or review or quash a judgment rendered by a court or a decision made by a person or body under the authority of the Parliament of Québec, if the court, body or person acted without jurisdiction or in excess of jurisdiction, or if the procedure followed was affected by some serious irregularity;
(3) direct a person holding an office within a public body, a legal person, a partnership or an association or another group not endowed with juridical personality to perform an act which they are by law required to perform, provided the act is not of a purely private nature; or
(4) dismiss a person who, without right, is occupying or exercising a public office or an office within a public body, a legal person, a partnership or an association or another group not endowed with juridical personality.