Alright, this feels like a bit of a stupid question, but whatever. If the jury decides guilty or not guilty, what does the judge do, besides... keep order?
He judges the conduct of the trial and ensures it is all carried on within prescribed guidelines and legal precedents, acts as an arbiter between the opposing parties, as devils advocate sometimes, and is basically in charge of the shebang. he also dishes out the punishment if found guilty.