A moment's thought is enough to expose the difficulties of this analysis. Wars are waged by states, not individuals. Though it may be legitimate to bomb targets in a country with which the US is at war, that hardly applies to a country like Pakistan — with which the US maintains diplomatic relations. US troops are not even meant to operate inside Pakistan without permission, unless there is an overriding threat to national security.
Of course, the position is different once the United Nations is involved. In March, the UN Security Council passed resolution 1973, authorising "all necessary measures" to protect Libyan civilians. The air strike on Gaddafi's compound that killed his youngest son a day before the attack on bin Laden suggests that Nato regards the UN resolution as justification for killing the Libyan leader himself.
There is, inevitably, room for doubt over whether killing Gaddafi is necessary to stop him attacking his people. Some argue that it would be counter-productive. Others pin their faith on the prospect of arresting him and bringing him to trial at the International Criminal Court. All one can say about that is that it has not proved to have been much of a deterrent so far.
Nor was it for bin Laden. Still, says the Left, we should have tried to capture the al-Qaeda leader alive and put him on trial like Milosevic and the Nazis at Nuremberg.
But this misses the point. The wars in former Yugoslavia and Germany were over by the time those responsible were brought to trial. If bin Laden had been captured, his followers would surely have been inspired to launch further attacks on US targets in the hope of persuading the Americans to release him.
International lawyers have always prided themselves on their practicality. In deciding what the law is, they take account of what governments do. They now see states targeting not only international terrorists but also heads of state, who have traditionally enjoyed immunities under international law. Their response tends to be a grudging acceptance of harsh realities coupled with a wish that it did not have to be so.
In the real world, it does. It may not be wise to intervene in other country's wars. We may kill innocent people if we shoot first and ask questions later. But if the law books say it's never lawful to kill tyrants, it's the books that need changing.
The Israelis regard terrorist leaders as ticking bombs that must be neutralised before they cause carnage. Lawyers call that "anticipatory self-defence" — which means you don't have to wait for the other guy to shoot first. Although death must be no ground for rejoicing, that strikes me as a very sound rule of law.