(a) Any justice of the peace or mayor may hear and determine cases involving alleged violation of the traffic laws on Sunday.
(b) Any judgment rendered or bail bond taken in pursuance of the provisions of this title shall be of full force and effect as though such judgment were rendered or bail bond accepted on days other than Sundays, if the justice of the peace or mayor so rendering or accepting bail bond on Sunday heretofore would have had jurisdiction on days other than Sundays to render such judgment or accept such bail bond.