Surprisingly, Utilitarianism gets more-or-less intuitive results when it comes to what cases of punishment are morally permissible. But to gets those results in a way that diverges from our ordinary moral intuitions.
Technically, this is a lecture about chapter 13 ofJeremy Bentham's Introduction to the Principles of Morals and Legislation.