If any voter is not entitled or doubts his right to vote under sections 40:20-2 to 40:20-19 of this Title he may apply to a judge of the Superior Court for a certificate entitling him to vote.
The judge shall hear the matter in a summary manner and if he finds that the applicant is a legal voter of the county, he shall issue a certificate under his hand, addressed to the board of registry and election of the election district in which the voter resides, directing it to permit the applicant to vote hereunder.
The certificate shall be returned by the board with its other returns.
N.J.S. § 40:20-10