Without a jury, a criminal courtroom is just a chamber full of state employees, trying to work out how long the defendant should go to prison for.