Attorneys for the state said they planned to appeal the superior court judge’s ruling to the NC Supreme Court.