(a) Any person aggrieved by a final decision of the zoning board of appeals, including any officer, department, board or agency affected by such decision, may seek review of such decision by petitioning the superior court for a writ of certiorari, setting forth the alleged errors. The petition must be filed within 30 days of the date that the zoning board of appeals renders its final decision. (b) When a petition is for a writ of certiorari is filed, the zoning board of appeals must be designated the respondent in certiorari and the city the defendant in certiorari. The secretary of the zoning board of appeals is authorized to acknowledge service of a copy of the petition and writ on behalf of the zoning board of appeals, as respondent. Service upon the city as defendant must be as provided by law.