On the trial of a petition the High Court of Justice may:-
(a) grant a declaration that the voting in a polling station to which the petition relates is void; or
(b) dismiss the petition and declare that the voting in the polling station to which the petition relates was regular.