The case of David v. Arroyo[24] explained the deep-seated rules on locus standi.
Thus:
Locus standi is defined as a right of appearance in a court of justice
on a given question. In private suits, standing is governed by the real- parties-in interest rule as contained in Section 2, Rule 3 of the 1997 Rules of Civil Procedure, as amended. It provides that every action must be prosecuted or defended in the name of the real party in interest. Accordingly, the real-party-in interest is the party who stands to be benefited or injured by the judgment in the suit or the party entitled to the avails of the suit. Succinctly put, the plaintiffs standing is based on his own right to the relief sought.