A problem for Act-Utilitarianism seems to be that if a judge can prevent riots from happening that will cause many deaths only by convicting an innocent person and imposing a severe punishment on them, then Act-Utilitarianism implies that judge should convict an punish the innocent person.