A writ which commands an individual, organization (eg. government), administrative tribunal, quasi-judicial body or court to perform a certain action, to make a decision, to which the agency is required, or for which the agency has discretion, pursuant to statute.
In Trinity Western University v British Columbia College of Teachers (2001 1 SCR 772; also at canlii.org/en/ca/scc/doc/2001/2001scc31/2001scc31.html), a college sought accreditation of a degree program from the respondent, the certifying agency. The BCCT balked at TWU's requirement that all faculty, staff and students agree in writing to:
"Refrain from practices that are biblically condemned. These include but are not limited to drunkenness, swearing or use of profane language, harassment, all forms of dishonesty including cheating and stealing, abortion, involvement in the occult, and sexual sins including premarital sex, adultery, homosexual behaviour, and viewing of pornography. Furthermore married members of the community agree to maintain the sanctity of marriage and to take every positive step possible to avoid divorce."
When BCCT refused to accredit TWU on that basis, the latter applied for a mandamus order.
The BC Supreme Court agreed with TWU:
"(BCCT) stated as its reason for denying the application of TWU that it believed that the proposed program follows discriminatory practices which are contrary to the public interest and public policy. For the reasons I have given, Council was without jurisdiction to make its decision on this ground. I am therefore remitting the matter back to the BCCT and directing that it approve TWU's ... program for accreditation...."
The Supreme Court of Canada also agreed with TWU, issued the mandamus, stating that "the BCCT (denied accreditation) on the basis of irrelevant considerations. It therefore acted unfairly."
For an extensive analysis of mandamus, including the several postulated conditions for its application, in fashion that only a judge holding the firm belief that a detailed and long judgment, proposing a multi-step approach, is the way to improve the law and advance it, see Apotex Inc. v. Canada (1993), 18 Admin LR 2d 122 also published at canlii.org/en/ca/fca/doc/1993/1993canlii3004/1993canlii3004.html.