A. At the close of trial, judgment must be rendered without undue delay by the judge, who shall cause it to be entered in his docket:
1. If judgment is of acquittal, and the defendant is not to be detained for any other legal cause, he must be discharged at once;
2. If the defendant pleads guilty or is convicted after trial, the court must render judgment thereon, fixing the penalty within the limits prescribed by the applicable ordinance and imposing sentence accordingly; and
3. A judgment that the defendant pay a fine may direct also that he be imprisoned until the fine is satisfied, as provided in section 6-129 of this chapter. (1998 Code)