"x x x.
Under the Rules of Court, petitions for Certiorari and Prohibition are availed of to question judicial, quasi-judicial and mandatory acts. Since the issuance of an EO is not judicial, quasi-judicial or a mandatory act, a petition for certiorari and prohibition is an incorrect remedy; instead a petition for declaratory relief under Rule 63 of the Rules of Court, filed with the Regional Trial Court (RTC), is the proper recourse to assail the validity of EO 7:
Section 1. Who may file petition. Any person interested under a deed, will, contract or other written instrument, whose rights are affected by a statute, executive order or regulation, ordinance, or any other governmental regulation may, before breach or violation thereof, bring an action in the appropriate Regional Trial Court to determine any question of construction or validity arising, and for a declaration of his rights or duties, thereunder. (Emphases ours.)
Liga ng mga Barangay National v. City Mayor of Manila[16] is a case in point.[17] In Liga, we dismissed the petition for certiorari to set aside an EO issued by a City Mayor and insisted that a petition for declaratory relief should have been filed with the RTC. We painstakingly ruled:
After due deliberation on the pleadings filed, we resolve to dismiss this petition for certiorari.
First, the respondents neither acted in any judicial or quasi-judicial capacity nor arrogated unto themselves any judicial or quasi-judicial prerogatives. A petition for certiorari under Rule 65 of the 1997 Rules of Civil Procedure is a special civil action that may be invoked only against a tribunal, board, or officer exercising judicial or quasi-judicial functions.
Section 1, Rule 65 of the 1997 Rules of Civil Procedure provides:
SECTION 1. Petition for certiorari. — When any tribunal, board or officer exercising judicial or quasi-judicial functions has acted without or in excess of its or his jurisdiction, or with grave abuse of discretion amounting to lack or excess of jurisdiction, and there is no appeal, or any plain, speedy, and adequate remedy in the ordinary course of law, a person aggrieved thereby may file a verified petition in the proper court, alleging the facts with certainty and praying that judgment be rendered annulling or modifying the proceedings of such tribunal, board or officer, and granting such incidental reliefs as law and justice may require.
Elsewise stated, for a writ of certiorari to issue, the following requisites must concur: (1) it must be directed against a tribunal, board, or officer exercising judicial or quasi-judicial functions; (2) the tribunal, board, or officer must have acted without or in excess of jurisdiction or with grave abuse of discretion amounting [to] lack or excess of jurisdiction; and (3) there is no appeal or any plain, speedy, and adequate remedy in the ordinary course of law.
A respondent is said to be exercising judicial function where he has the power to determine what the law is and what the legal rights of the parties are, and then undertakes to determine these questions and adjudicate upon the rights of the parties.
Quasi-judicial function, on the other hand, is “a term which applies to the actions, discretion, etc., of public administrative officers or bodies … required to investigate facts or ascertain the existence of facts, hold hearings, and draw conclusions from them as a basis for their official action and to exercise discretion of a judicial nature.”
Before a tribunal, board, or officer may exercise judicial or quasi-judicial acts, it is necessary that there be a law that gives rise to some specific rights of persons or property under which adverse claims to such rights are made, and the controversy ensuing therefrom is brought before a tribunal, board, or officer clothed with power and authority to determine the law and adjudicate the respective rights of the contending parties.
The respondents do not fall within the ambit of tribunal, board, or officer exercising judicial or quasi-judicial functions. As correctly pointed out by the respondents, the enactment by the City Council of Manila of the assailed ordinance and the issuance by respondent Mayor of the questioned executive order were done in the exercise of legislative and executive functions, respectively, and not of judicial or quasi-judicial functions. On this score alone, certiorari will not lie.
Second, although the instant petition is styled as a petition for certiorari, in essence, it seeks the declaration by this Court of the unconstitutionality or illegality of the questioned ordinance and executive order. It, thus, partakes of the nature of a petition for declaratory relief over which this Court has only appellate, not original, jurisdiction. Section 5, Article VIII of the Constitution provides:
Sec. 5. The Supreme Court shall have the following powers:
(1) Exercise original jurisdiction over cases affecting ambassadors, other public ministers and consuls, and over petitions for certiorari, prohibition, mandamus, quo warranto, andhabeas corpus.
(2) Review, revise, reverse, modify, or affirm on appeal or certiorari as the law or the Rules of Court may provide, final judgments and orders of lower courts in:
(a) All cases in which the constitutionality or validity of any treaty, international or executive agreement, law, presidential decree, proclamation, order, instruction, ordinance, or regulation is in question. (Italics supplied).
As such, this petition must necessar[ily] fail, as this Court does not have original jurisdiction over a petition for declaratory relief even if only questions of law are involved.[18]
Likewise, in Southern Hemisphere Engagement Network, Inc. v. Anti Terrorism Council,[19] we similarly dismissed the petitions for certiorari and prohibition challenging the constitutionality of R.A. No. 9372, otherwise known as the “Human Security Act of 2007,” since the respondents therein (members of the Anti-Terrorism Council) did not exercise judicial or quasi-judicial functions.
x x x."