It is not hypothetical, the fact is that killing drones are used in practice, and it just doesn't make sense to oppose lesser measures that are being used without judgement when killing is allowed.
You said it is okay / allowed because "terrorists". Otherwise, it is a heinous crime. Just like the Pegasus one.