When the action is against a person for usurping, intruding into or unlawfully holding or exercising an office, the complaint shall set forth the name of the person who claims to be entitled thereto, with an averment of the person’s right thereto, and judgment may be rendered upon the right of the defendant, and also upon the right of the person so averred to be entitled, or only upon the right of the defendant, as justice requires.
[1911 CPA § 719; RL § 5661; NCL § 9208]