The city of Lake Saint Louis appeals the trial court’s dismissal of its petition for declaratory judgment that certain disputed property is within its boundaries and that the city of O’Fallon’s attempted annexation of it is invalid. O’Fallon filed a motion to dismiss on the basis that Lake St. Louis had no authority to seek a declaratory judgment because the sole mechanism for determining whether its annexation of the disputed property was proper is to have the attorney general or prosecuting attorney of St. Charles County file a quo war-ranto action. The trial court granted O’Fallon’s motion to dismiss.
Lake St. Louis appeals, arguing that a municipality itself has the right to bring a declaratory judgment to determine its boundaries rather than being forced solely to rely on the discretion of the attorney general and the county’s prosecuting attorney as to whether to bring a quo warranto action on the municipality’s behalf.
This Court agrees. While individuals are not authorized to bring a declaratory judgment action to determine a boundary dispute as to a municipality, this limitation does not apply to a suit brought by the affectеd municipality, school district or other public corporation itself. To the extent
State ex inf. Sanders, ex rel. City of Lee’s Summit v. City of Lake Lotawana,
I. FACTUAL AND PROCEDURAL BACKGROUND
Lake St. Louis and O’Fallon are municipalities in St. Charles County. On March 26, 2009, Lake St. Louis filed a petition for declaratory judgment against O’Fallon in which Lake St. Louis alleged that, in 1982, it annexed certain property to the north of its prior boundary, making its northern boundary run along Interstate 70 in St. Charles County. The petition alleged that “O’Fallon disputes the northern boundary of Lake Saint Louis and claims to have subsequently annexed property, issued permits, and taken other actions within the boundary of Lake Saint Louis....” 1 The petition did not state when O’Fallon undertook its allegedly improper annexation. It did aver that Lake St. Louis had a legally protectable interest in enforcing its ordinances, collecting and administering taxes, *759 and protecting the rights of the сity and its residents in the disputed area and asked the trial court to enter judgment declaring that the northern boundary of Lake St. Louis included the area that Lake St. Louis had annexed in 1982 and that O’Fal-lon had not legally annexed property within that boundary.
On April 30, 2009, O’Fallon filed a motion to dismiss in lieu of filing an answer. The motion asserted that Lake St. Louis was not entitled to bring a declaratory judgmеnt action to determine its boundaries and that, in any event, the statute of limitations to do so had expired. The trial court granted O’Fallon’s motion to dismiss without stating on which ground it ruled. Following a decision by the Missouri Court of Appeals, Eastern District, this Court granted transfer. Mo. Const. Art. V, § 10.
II. STANDARD OF REVIEW
“[A] motion to dismiss for failure to state a cause of action is solely a test of the adequacy of the plaintiffs petition.”
Reynolds v. Diamond Foods & Poultry, Inc.,
An appellate court reviews a trial court’s grant of a motion to dismiss
de novo. Lynch v. Lynch,
III. A SCHOOL DISTRICT MAY BRING A DECLARATORY JUDGMENT ACTION TO DETERMINE ITS PROPER BOUNDARIES
Lake St. Louis argues that the filing of a declaratory judgment action is an appropriatе mechanism by which a municipality can resolve a boundary dispute. O’Fallon disagrees, arguing that Lake St. Louis ultimately is seeking to oust O’Fallon from the contested land and, therefore, the exclusive remedy is through a writ of quo warranto. As it is undisputed that only the attorney general or a prosecuting or circuit attorney can bring an action in quo warranto, Rule 98.02, O’Fallon argues thаt Lake St. Louis has no authority to seek or obtain the relief it sets out in its petition.
For the reasons noted below, while O’Fallon is correct that individuals are not permitted tó bring declaratory judgment actions seeking to determine boundaries or to oust a municipal or other public corporation from disputed territory, municipalities, school districts and other public corporations are permitted to bring such actions.
A. Individuals May Nоt Bring Quo Warranto or Declaratory Judgment Actions to Oust Another from Disputed Territory
Rule 98.02 provides that, “(a) Proceedings in quo warranto shall be by a civil
*760
action in which the party seeking relief is relator and the person against whom such relief is sought is respondent, which action shall be brought in the name of the State of Missouri.”
See also
§ 531.010 et seq., RSMo 2000.
2
To bring an action in quo warranto the “attorney general, prosecuting attorney, or circuit attorney may file an information ex officio, by virtue of the power of his [or her] office without leave of court when such an action would serve the public interest.”
State ex inf. Graham v. Hurley,
An action in quo warranto may be brought by the attorney general or prosecutor on behalf of the state directly or at the relation of another, Rule 98.02(b); Rule 98.04, including an individual who seeks to determine the legality of an annexation. 3
B. An Individual May Not File for Declaratory Relief to Resolve a Boundary Dispute
“A declaratory judgment prоvides guidance to the parties, declaring their rights and obligations or otherwise governing their relationship,”
Shipley v. Cates,
(1) a justiciable controversy that presents a real, substantial, presently-existing controversy admitting of specific relief, as distinguished from an advisory decree upon a purely hypothetical situation; (2) a plaintiff with a legally pro-tectable interest at stake, “consisting of a pecuniary or personal interest directly at issue and subject to immediate or prospective consequential relief;” (3) a controversy ripe for judicial determination; and (4) an inadequate remedy at law.
Mo. Soybean Ass’n v. Mo. Clean Water Comm’n,
Individuals sometimes have sought to bypass the prohibition on an individual bringing a quo warranto action by seeking the same relief in a suit for an injunction or for declaratory judgment.
Spiking Sch. Dist. No. 71, DeKalb Cnty. v. Purported “Enlarged Sch. Dist. R-II, DeKalb Cnty., Mo.”,
In approving dismissal of their petition, this Court stated that “a declaratory judgment action is not available to the individual plaintiffs who are residents, patrons and taxpayers of the reorganized district” because “they are only indirectly affected by the lack of de jur[e] existence of the reorganized district and the attempted action by them is in the nature of a collateral attack.” Id. at 21. It prohibited such collateral attacks by individuals because individuals necessarily are only indirectly affected by whether a public or municipal corporation has a de jure existence. If *761 one resident could bring suit, then all could, and “it is intolerable that, every time a city sues on an account, it must first establish its right to exist.” Id. (internal citations and quotations omitted).
For these rеasons, “[t]he law is settled that when a public body has, under color of authority, assumed to exercise the powers of a public corporation of a kind recognized by law, so as to become at le[a]st a de facto corporation, the validity of its organization can be challenged only by direct proceedings in quo warranto by the state through its officers designated in [section] 581.010, and cannot be challenged by individuals.”
State ex rel. Junior Coll. Dist. of Sedalia v. Barker,
C. Municipalities May Bring Declaratory Judgment Actions to Determine their Boundaries
Lake St. Louis does not disagree with thе general rule that quo warranto offers the exclusive means of relief for individuals; they may not sue in their own right and may act as relators only in an action brought in the name of the state by the attorney general or county prosecutor. But, Lake St. Louis argues, this Court never has held that the sound reasoning underlying this rule applies when the dispute is between two municipalities or othеr public corporations concerning which one of them has the valid claim over a disputed area. In such cases, it suggests, a public corporation is the party directly affected by the territorial dispute. While the attorney general and prosecutor also may bring a suit in quo warranto on behalf of such a governmental entity, whether they choose tо do so is within those officials’ discretion. The governmental entity, therefore, as the party directly affected, should have the right instead to bring a declaratory judgment action in its own name to vindicate its directly affected interest in the office or territory.
This Court has recognized on at least two occasions that the question of whether a public school district сan bring a declaratory judgment action to resolve a territorial dispute is not resolved by the cases holding that individuals are not authorized to bring such actions. In 1952, Spiking noted the general rule regarding individuals but then found that because the plaintiffs in the action before it were not actually existing school districts (they had been dissolved prior to suit being brought):
It is unnecessary to determine whether, under particular circumstances, an alleged existing common school district may by a declaratory judgment action directly attack the validity of an alleged reorganization proceeding which purports to destroy said district by consolidation or reorganization with other districts.
*762 Compare: Walker Reorganized School District R-4 v. Flint et al, Mo.App.,803 S.W.2d 200 , 205-206(2), cited by respondent, holding that one school district can maintain an action against another school district for a judgment declaring that defendant district had become a part of plaintiff district by annexation. In so holding the court referred specifically to page 21 of the Spiking case (245 S.W.2d and noted “... that the Supreme Court has been careful to leave the door open for the decision that the cases in which individuals are endeavoring to attack the validity of an annexation or а reorganization through a proceeding other than by quo warranto in the name of the State are not necessarily controlling where two school districts are claiming the same territory.” ... See also: Reorganized School District R-I of Crawford County v. Reorganized School District R-III of Washington County, Mo.App.,360 S.W.2d 376 , 378(1-2).
Barker,
Walker Reorganized Sch. Dist. R-4 v. Flint,
one of the cases cited in the
Barker
footnote, specifically noted that
Spiking
had left “the door open” for declaratory judgment actions when “twо school districts are claiming the same territory.”
Both plaintiff and intervenor are public school districts. Each in its public corporate capacity is claiming the same territory, the Coal Creek District.... Both plaintiff and intervenor have a direct interest in the matter. There is no threat of harassment by individuals questioning the validity of a school district. To permit plaintiff and interve-nor, in a declaratory judgment action, to determine the question of which took the first valid step to acquirе the Coal Creek District does not appear to violate any of the reasons for the rule that an individual cannot question in legality of the organization of a school district by a declaratory judgment action, but must proceed, if at all, by quo warranto in the name of the State. Since the reason for that rule fails as applied to this case we do not apply the rule.
Id. at 205-06 (emphasis added). 4
O’Fallon nonetheless urges this Court to close the door left open in
Spiking
by holding that the prohibition on declaratory judgment actions by individuals also applies to school districts and other public corporations. In support, it cites
State ex rel. Members of Bd. of Educ. of Everton R-III Sch. Dist. v. Members of Bd. of Educ. of Greenfield R-IV Sch. Dist.,
*763
While
Everton
did conclude that school district boundaries could “only be determined in quo warranto,”
Neither case involved a declaratory judgment action brought by one school district or municipality against another, however, nor did either offer any reasoning why such declaratory judgment suits would not be propеr. Moreover,
Dalton
merely noted (as this Court reaffirms today) that a suit in quo warranto is
“a
proper remedy to test the jurisdiction of a school board over territory claimed by another school district,”
Lake Lotawana,
the other case involving a public corporation relied оn by O’Fallon,
6
cites only to
Everton
and a case involving a suit by individuals,
State ex rel. Kansas City v. Harris,
This Court finds WalkePs reasoning more persuasive. To require a directly affected municipality or other similar public corporation to rely on a third party— the attorney general or a county prosecutor — to bring suit over its very boundaries would risk leaving it without a remedy if the attorney general and prosecutor exercise their discretion not to act. While this is appropriate where an individual litigant is involved, to avoid the multiplicity of suits that otherwise would ensue and to ensure that spurious claims are not asserted in an effort to adversely affect the public body, such reasoning does not apply to the municipality or other public corporation itself, as it has a direct and vital interest in determining its own boundaries.
To the extent Everton and Lake Lotawana hold otherwise, they no longer should be followed. While they are correct that a quo warranto action by the attorney general or prosecuting or circuit attorney at the relation of the public corporation is proper to determine a boundary dispute such as this under Rule 98.02, so too is a declaratory judgment action brought directly by the municipality or other public corporation itself.
D. The Statute of Limitations
The motion to dismiss filed below also raised statute of limitations and laches defenses. Because the court failed to state the reasons for dismissal, this Court is unable to determine whether the dismissal was based on those grounds or on the ground principally relied on, that a
*764
municipality may not bring a declaratory judgment action. Allegations based on the statute of limitations or laches are in the nature of affirmative defenses and, as such, usually are raised in the answer.
Lynch,
IV. CONCLUSION
Dismissal of Lake St. Louis’s petition was unwarranted. The trial court’s judgment is reversed, and the case is remanded.
Notes
. On October 31, 2008, O’Fallon’s city counselor stated in a letter to St. Charles County officials that the city disputed the northern boundary of Lake St. Louis and believed adjudication of the dispute between Lake St. Louis and O’Fallon as to their respective boundaries should be resolved in court.
. The portion of section 531.010 authorizing one circuit court to exercise authority over another judge of an adjoining county was found to violate Article V, Section 4(1) of the Missouri Constitution in
State v. Kinder,
.
See e.g., Stale еx inf. Ashcroft, ex rel. Curators of Univ. of Mo. v. Town of Weldon Springs Heights,
.
Reorganized. Sch. Dist. R-I of Crawford Cnty. v. Reorganized Sch. Dist. R-III of Washington Cnty.,
Ordinarily matters affecting the legality of the organization of a school district cannot be inquired into except by quo warranto in the name of the state. This action, however, is between two schоol districts.... [A] declaratory judgment action will lie in a dispute such as this between two school districts.
. While
Purdy
did state in dicta that the rights of school districts contesting the same territory should be settled in quo warranto,
. The suits by individuals that O’Fallon also cites are not on point for the reasons noted above.
See, e.g., Cherry v. City of Hayti Heights,
