If a candidate is convicted of a campaign violation under section 211A.09, the court shall declare that the candidate has forfeited nomination or office.