In the TOS episode A Taste of Armageddon, Spock orders a Yeoman to stop Mea 3 from killing herself.
Yeoman Tamula, you stay here and prevent this young lady from immolating herself. Knock her down if necessary. This is a killing situation. Do what you must to protect yourself. Clear?
By Spock ordering the Yeoman to kill Mea, if necessary, isn’t he inviting Mea to attempt a “death by cop”, thereby providing an illogical order that would lead to Mea’s death. Further, wouldn’t it be more logical to order the Yeoman to stun Mea 3 if necessary?