(a) No declaration shall prejudice the rights of persons not parties to the proceeding. (b) In any proceeding involving the validity of a municipal ordinance or franchise, the municipality shall be made a party and shall be entitled to be heard as a party. (c) If an Act of the General Assembly, a statute of the state, any order or regulation of any administrative body of the state, or any franchise granted by the state is alleged in an action for declaratory judgment or as a part of any other action to be unconstitutional or otherwise invalid, the Attorney General of the state shall be served with a copy of the proceeding and shall be entitled to be heard in defense of said Act, statute, order, regulation, or franchise, which may include appearing as a party as of right as he or she determines is appropriate. History. Ga. L. 1945, p. 137, § 6; Ga. L. 2022, p. 13, § 1/HB 1361. The 2022 amendment, effective March 4, 2022, substituted the present provisions of subsection (c) for the former provisions, which read: “If a statute of the state, any order or regulation of any administrative body of the state, or any franchise granted by the state is alleged to be unconstitutional, the Attorney General of the state shall be served with a copy of the proceeding and shall be entitled to be heard.”.