The judge shall to all intents and purposes be a justice of the peace and municipal court judge, so far as to enable him to issue warrants for offenses committed within the city, which warrants may be executed by any member of the police force of the city, and to commit the offenders to jail, or to admit them to bail, in bailable cases, for their appearance at the next term of the court of competent jurisdiction to be held in and for said county or own his or her own motion and within his or her own discretion to bind the case over to the state or superior court where the offense would constitute a violation of state law.