In no case shall any person charged with violating any ordinance of the city be tried, sentenced or discharged, unless such person is actually present before the Municipal Court at the time of such trial, sentence, or discharge.