I agree with the sentiment, but find that legality (the basis for it being extrajudicial or not) is a poor marker of morality that varies based on the laws of the country in question - for example: In the absence of a formal declaration of war, I think every invading Russian soldier killed by a Ukrainian is technically an extrajudicial killing (though in practical terms, if course a conviction won’t be sought). Morally, I think they have the right to defend themselves against an invading army that seeks to annex them.
Anyhow, I think we’re effectively in agreement and splitting hairs way off-topic, so I’m going to dip. Be well!