If a judgment of conviction is given, the defendant is disqualified from exercising any of the functions of the office and from receiving the salary, fees, or emoluments thereof, and the office must be filled for the remainder of the term as upon a vacancy.
N.D.C.C. § 44-09-23