Even if the entire "legal system" follows the rule of "innocent until proven guilty", there ARE very common instances in which the Legal System operates differently, meaning, you are Punished on-the-spot and it is Your burden to prove your innocence.
Examples of such instances:
(1) When you get a Parking Ticket for parking in an ILLEGAL spot -- hey, the policeman just "convicted" you and punished you on-the-spot, without even hearing what you have to say, and without you even being there! Maybe it was a medical emergency? Maybe the policeman did not see that you actually were Allowed to park there, by a special permit? Even if you have no excuse, the situation remains: you were "convicted" of a criminal offence, and punished, without saying a single word.
(2) Some criminal offences are defined as "Strict Liability" offenses, in which you are convicted just for "doing" what you did, even if you had the best excuse in the world. In some countries, for example, if you drive your car at night, and the car hits a bump on the road, and the Rear Light breaks down because of it, and you keep on driving WITHOUT EVEN KNOWING that your rear light is dead -- a policeman can stop you and can FINE you on-the-spot.