When a person is denied a license or any temporary driving permit after filing the proper application, he shall have the right within sixty (60) days thereafter to file a petition, in the county or circuit court in the county wherein the application was filed, praying for a hearing in the matter before the judge of the court in which the application is presented. The judge is hereby vested with jurisdiction to hear such matters forthwith within termtime or during vacation, upon five (5) days’ written notice to the officer who refused to issue the license or any temporary driving permit. The hearing shall be conducted at a place as may suit the convenience of the court. On the hearing of the petition, testimony may be taken, and the court shall render judgment in the matter as it deems right and proper under the law and evidence.