persons that will always endanger other people and that includes killing them.
You cannot know that, and if you have the ability to strap someone down and end their life, you have no need to do so since you clearly have complete control over their person.
I’m OK with the death penalty only in principle
You shouldn't be. States qua arbiters of justice should not intentionally kill people under their control.