The State shall be a party whenever the validity or constitutionality of a local act of the General Assembly is the subject of an action in any court and, except as provided in G.S. 147-17, shall be represented by the Attorney General. This section shall not affect any authority under G.S. 1-72.2 or G.S. 120-32.6.
N.C. Gen. Stat. § 1-72.3