1. At the close of a trial in the Municipal Court, judgment must be rendered by the Municipal Judge, who shall cause it to be entered in his or her docket.
2. If the judgment of the Municipal Court is of acquittal and the defendant is not to be detained for any other legal cause, said defendant must be discharged at once.
3. If the defendant pleads guilty or is convicted after trial, the Municipal Court must render judgment thereof, fixing the penalty within the limits prescribed by this code of ordinances or other applicable ordinance, and imposing sentence accordingly.