The municipal judge and the municipal judge pro tempore shall be to all intents and purposes magistrates, so far as to enable them to issue warrants for offenses committed within the corporate limits of the city, which warrants shall be executed by the marshal or other police officer, and to commit to the jail of the County of Lowndes, or to admit to bail, offenders for their appearances at the next term of the court sitting in Lowndes County that has jurisdiction of such offenses, and it shall be the duty of the jailer of the County of Lowndes to receive all such persons so committed and safely keep them until discharged by due course of law.