Be it further enacted, that a judge of municipal court shall be to all intents and purposes a justice of the peace so as to enable him to issue warrants for offenses committed within the corporate limits of the City of Doraville, and if upon the trial of any case in said court, it shall appear that any person on trial has committed an offense against the State of Georgia, it shall be the duty of said judge to commit said person to jail or admit him to bail in bailable cases, for his appearance at the next term of a court of competent jurisdiction for said county.