We have Christ on the Cross in front of us.
Who can look at this divine revelation and not condemn capital punishment?

Apparently, a lot of people, Popes included. That does not mean capital punishment is not a contradiction of our basic faith, of Christ on the Cross. Clearer vision may uncover contradictions we have lived with.