LYNN, J.
The petitioners, Stephen Bartlett and others, appeal an order of the Superior Court (Abramson, J.) vacating a decision of the City of Manchester Zoning Board of Adjustment (ZBA), which granted the intervenor, Brookside Congregational Church (Brookside), a variance. Although the petitioners asked the trial court to reverse the ZBA's decision, they appeal the court's order because it rules that Brookside's proposed use and similar uses of its property are permitted as accessory uses under the Manchester Zoning Ordinance (ordinance) as a matter of right. Brookside cross-appeals, asking us to reinstate the ZBA's grant of the variance. We vacate the order of the superior court and remand with instructions to remand to the ZBA for further proceedings consistent with this opinion.
The following facts are drawn from the trial court's order and the record before the ZBA and the superior court. Brookside's property is a 10.04-acre parcel of land in a residential zoning district in the north end of Manchester. The property contains a sanctuary, chapel, cottage, residence building, carriage house, office
In April 2010, Brookside applied to the City of Manchester for a permit to allow a "work-based, self-help organization" to occupy a portion of its carriage house. The next day an administrative official of the City of Manchester Planning and Community Development Department denied the application, stating that Brookside's proposed use was prohibited by "Section(s) 5.10(J) 8 Social service organization, District R-1 B, of the Zoning Ordinance of the City of Manchester." (Emphasis omitted.) The denial letter informed Brookside that "[f]urther proceedings contemplated pertaining to this application must be pursuant to NH Revised Statutes Annotated 674:33 or other statutory provisions relative to Zoning Boards of Adjustment, as may be appropriate."
In response, Brookside applied to the ZBA for a variance to allow Granite Pathways, a non-profit corporation, to operate a work-based, self-help organization for adults with mental illness inside Brookside's carriage house.
Two weeks later the ZBA held a public hearing on Brookside's application. Representatives of Brookside and Granite Pathways attended the hearing, and Dawn Brockett, co-chair of Brookside's board of trustees, told the ZBA that the variance "application and supporting documents contain[ed] all of the necessary information." After a single parishioner spoke in favor of granting Brookside the variance, several members of the community expressed reservations and opposition. Counsel for petitioner Bartlett voiced concern that granting the variance would raise safety, security, and transportation issues, and further argued that Brookside had neither demonstrated unnecessary hardship nor that granting the variance would not diminish surrounding property values. The ZBA then tabled Brookside's application and scheduled a second public hearing to be held the following month.
At the second public hearing, Brookside, now represented by counsel, informed the ZBA that, in response to concerns expressed at a recent neighborhood meeting, it would be willing to stipulate to the following variance conditions:
At the conclusion of the hearing, the ZBA granted Brookside its requested variance subject to the above conditions. The written notice of decision states that Brookside met its burden of proof in showing that: (1) the variance would not be contrary to the public interest; (2) the variance would not be contrary to the spirit of the zoning ordinance; (3) by granting the variance substantial justice would be done; (4) by granting the variance surrounding property values would not be diminished; and (5) literal enforcement of the provisions of the ordinance would result in an unnecessary hardship.
After the ZBA granted timely motions for rehearing and held a third public hearing on the matter, it again granted Brookside the variance with the same conditions. The petitioners again moved for rehearing, arguing, among other things, that Brookside had not satisfied the criteria set forth in RSA 674:33, I(b) (Supp.2012), and
Under RSA 674:33, I(b), a zoning board of adjustment has the power to grant a variance if: (1) "[t]he variance will not be contrary to the public interest"; (2) "[t]he spirit of the ordinance is observed"; (3) "[s]ubstantial justice is done"; (4) "[t]he values of surrounding properties are not diminished"; and (5) "[l]iteral enforcement of the provisions of the ordinance would result in unnecessary hardship." The statute contains two definitions of unnecessary hardship. See RSA 674:33, I(b)(5)(A), (B); Harborside Assocs. v. Parade Residence Hotel, 162 N.H. 508, 512-13, 34 A.3d 584 (2011). Under the first definition:
RSA 674:33, I(b)(5)(A). If the variance applicant fails to satisfy this first definition, the second definition may apply. Under the second definition:
RSA 674:33, I(b)(5)(B).
After the ZBA denied the petitioners' motion for rehearing, they appealed to the superior court, which vacated the ZBA's decision. Focusing on unnecessary hardship, the court ruled that the ZBA had unlawfully found that literal enforcement of the provisions of the ordinance would cause Brookside unnecessary hardship. Notwithstanding this ruling, however, the court found that the Granite Pathways Clubhouse and similar uses of Brookside's property are lawful accessory uses under the ordinance and the accessory use doctrine. Thus, the court vacated the ZBA's decision granting Brookside a variance because it found that Brookside did not need a variance. This appeal and cross-appeal followed.
On appeal, the petitioners contend that the superior court lacked subject matter jurisdiction to consider whether the Granite Pathways Clubhouse and other similar uses of Brookside's property are permitted as accessory uses under the ordinance. The petitioners assert that Brookside failed to appeal the denial of its permit application, elected to apply for a variance, and did not rely on the accessory use doctrine before the ZBA. More broadly, the petitioners argue that the statutory scheme governing judicial review of ZBA decisions contemplates that the superior court address only issues first considered and decided by the ZBA.
In its cross-appeal, Brookside, joined by the respondent, the City of Manchester, argues that, even if we accept the petitioners' argument regarding accessory use, we should affirm the ZBA's decision granting a variance because there is sufficient evidence in the record to support it.
Judicial review in zoning cases is limited. Brandt Dev. Co. of N.H. v. City of Somersworth, 162 N.H. 553, 555, 34 A.3d 593 (2011). We will uphold the trial court's decision unless it is unsupported by the evidence or legally erroneous. Id. For its part, the trial court must treat all factual findings of the ZBA as prima facie lawful and reasonable, and may not set aside or vacate the ZBA's decision, except for errors of law, unless it is persuaded by the balance of probabilities, on the evidence before it, that the decision is unreasonable. RSA 677:6 (2008).
We first address the petitioners' argument that the superior court lacked jurisdiction to consider the accessory use issue. Subject matter jurisdiction refers to the court's statutory or constitutional power to adjudicate the case. State v. Ortiz, 162 N.H. 585, 589, 34 A.3d 599 (2011) (quotation omitted).
Against this statutory backdrop, we hold that the trial court had subject matter jurisdiction to consider whether the Granite Pathways Clubhouse and other similar uses of Brookside's property are permitted as a matter of right under the accessory use provision of the ordinance. In deciding whether Brookside's variance application satisfied the variance criterion of unnecessary hardship, the trial court correctly determined that it had to consider the permissible uses of Brookside's property under the ordinance, including the accessory use provision. See Manchester Zoning Ordinance, art. 3 (defining accessory use of property as "[a] use which exists on the same lot as the principal use of the property to which it is related, and which is customarily incidental and subordinate to the principal use"). We agree with the trial court that, without engaging in this analysis, it could not determine whether literal enforcement of the provisions of the ordinance would result in an unnecessary hardship for Brookside. See RSA 674:33, I(b)(5). Thus, the trial court had subject matter jurisdiction to consider the issue of accessory use in reviewing the ZBA's decision to grant Brookside a variance.
We disagree with the premise of the petitioners' argument that the trial court lacked jurisdiction to consider the accessory use issue because Brookside failed to appeal the denial of its permit application. The last sentence of the letter denying Brookside's application states merely that any "[f]urther proceedings contemplated pertaining to this application must be pursuant to NH Revised Statutes Annotated 674:33," without specifying a subsection of the statute. Thereafter, Brookside sought a variance under RSA 674:33, I(b). In this circumstance, and given the interconnectedness between the issues of permitted use and hardship, we are not persuaded that Brookside needed to file a separate appeal pursuant to RSA 674:33, I(a) (2008).
Next, we reject the petitioners' argument that, by applying for a variance, "Brookside effectively waived any claim that its proposed use was permitted under the accessory use doctrine from the outset
Similarly misplaced is the petitioners' reliance on Town of Windham v. Alfond, 129 N.H. 24, 523 A.2d 42 (1986), for the proposition that Brookside waived its right to benefit from the accessory use doctrine because it failed to plead the doctrine before the ZBA. Alfond is inapposite. In Alfond we held that a defendant in a private nuisance suit has the burden to plead the doctrine and produce evidence sufficient to permit a prima facie inference that the disputed use is an accessory one. Alfond, 129 N.H. at 29, 523 A.2d 42; see also Treisman v. Kamen, 126 N.H. 372, 377, 493 A.2d 466 (1985) ("We therefore hold that when the legality of a defendant's conduct is to be judged under a zoning ordinance, the defendant who claims the benefit of the accessory use doctrine has the burden to raise it by his pleading." (emphasis added)). We did not hold that a variance applicant must alternatively plead the accessory use doctrine. To the extent the petitioners argue that the pleading requirement of Alfond must apply in the present case, we disagree. In Treisman, which we relied upon in Alfond, we explained that considerations of fairness, convenience, and policy require a defendant in a private nuisance suit to plead reliance on the accessory use doctrine. See Treisman, 126 N.H. at 377, 493 A.2d 466. We conclude, however, that these considerations do not warrant the imposition of an affirmative pleading requirement in the variance context where the ZBA must consider what uses of a property are allowed before it can decide whether unnecessary hardship exists.
Our rejection of the petitioners' jurisdictional argument does not end our analysis. We must still determine whether the trial court correctly ruled that the Granite Pathways Clubhouse and other similar uses of Brookside's property are lawful accessory uses.
We conclude that the trial court lacked a sufficient factual record to decide the accessory use issue, and that it should have remanded the case to the ZBA to consider the issue in the first instance. See RSA 677:11 (2008) (when vacating ZBA decision
Although we have held that whether a particular use is an accessory use is a question of law, see KSC Realty Trust v. Town of Freedom, 146 N.H. 271, 273, 772 A.2d 321 (2001), resolution of the inquiry still requires a sufficiently developed factual record. See Alfond, 129 N.H. at 30, 523 A.2d 42 (prevailing on claim of accessory use "requires evidence of substantial customary association of the principal and subordinate uses, whereas evidence of the peculiar character of the property in question does not address this issue"); 15 P. Loughlin, New Hampshire Practice, Land Use Planning and Zoning § 9.03, at 174 (4th ed. 2010) ("Whether a particular use is an accessory use is generally a question of both law and fact."). Accordingly, remand is appropriate because the ZBA is the proper forum for the development of such a record. See Chester Rod and Gun Club v. Town of Chester, 152 N.H. 577, 583, 883 A.2d 1034 (2005) ("When reviewing a decision of a zoning board of adjustment, the superior court acts as an appellate body, not as a fact finder."). Of course, in cases where the record demonstrates, as a matter of law, that the variance applicant's proposed use is a lawful accessory use, remand is unnecessary and the trial court may decide the issue in the first instance. Cf. Lawrence v. Philip Morris USA, 164 N.H. 93, 101, 53 A.3d 525 (2012) (no need to remand if reasonable fact finder would necessarily reach certain conclusion). But that is not the situation here.
On remand, the ZBA should thoroughly explore the accessory use issue, giving all interested parties, including the City's Planning and Community Development Department, an opportunity to present evidence and arguments as to whether the Granite Pathways Clubhouse is a lawful accessory use of Brookside's property and, if not, whether Brookside should receive a variance.
The foregoing discussion also disposes of Brookside's cross-appeal. Given that, on remand, the ZBA must determine whether the Granite Pathways Clubhouse is a lawful accessory use of Brookside's property under the ordinance, we reject Brookside's claim that sufficient evidence in the record establishes its entitlement to a variance.
Vacated and remanded.
DALIANIS, C.J., and HICKS, CONBOY and BASSETT, JJ., concurred.
(Quotation omitted.)