There are sometimes sitautions where someone's guilty beyond a shadow of a doubt; I don't imagine prosecutors would be particularly afraid to pursue the death penalty for someone like https://en.wikipedia.org/wiki/Anders_Behring_Breivik (who got 21 years in jail for the murder of 77 people).