If in any election contest it appears that another person than the defendant has the highest number of legal votes, the court shall declare that person elected.
(Enacted by Stats. 1994, Ch. 920, Sec. 2.)