When, in any such action, it is found and adjudged that a corporation has, by an act done or omitted, surrendered or forfeited its corporate rights, privileges or franchises, or has not used the same during a term of 2 years, judgment shall be entered that it be ousted and excluded therefrom, and that it be dissolved; and when it is found and adjudged that a corporation has offended in any matter or manner which does not work such surrender or forfeiture or has misused a franchise, or exercised a power not conferred by law, judgment shall be entered that it be enjoined from the continuance of such offense or the exercise of such power.
[1911 CPA § 728; RL § 5670; NCL § 9217]