Seeing as we are talking about right and wrong on PD...what do you guys think?

Is executing a person immoral but ethical?

More specifically, in relation to Kant but hey I'll take what I can get from you guys.