In English law, the defence of necessity recognises that there may be situations of such overwhelming urgency that a person must be allowed to respond by breaking the law. There have been very few cases in which the defence of necessity has succeeded, and in general terms there are very few situations where such a defence could even be applicable. The defining feature of such a defence is that the situation is not caused by another person (which would fall under either duress or self-defence) and that the accused was in genuine risk of immediate harm or danger.
For the most part crimes that could be justified as necessary are minor in nature, such as driving over the speed limit to reach medical care, or damaging property to escape a fire. In almost all cases where a serious crime has taken place, necessity is unlikely to be a successful defence as courts have mostly taken the view that directly harming another person could not be justified even by extreme circumstances unless it directly prevented immediate serious harm or death. Even if a person were already likely to die, and their death would allow others to survive, killing them is not necessary until the point where harm is imminently likely to occur to the others and if that harm is not immediate, then necessity cannot apply. As such the circumstances where necessity could apply to a serious crime are extremely narrow, involving two or more people in an immediately life-threatening situation where only one could survive. Even in this situation, as the law does allow for a person not to take actions that would save another person if to do so would put their own life at risk, it is seldom strictly necessary for one person to kill another, one allowing the other to die in the course of the situation, then saving themselves.
The Crown Prosecution Service has historically chosen to exercise its discretion not to prosecute those cases where it believes potential defendants have acted reasonably in all the circumstances, and as such where necessity is a strong defense.
This defence was used in the early trial of Regina v. Dudley & Stephens (1884) 14 QBD 273 DC, where four shipwrecked sailors were cast adrift in a small boat without provisions. To save themselves, the three strongest decided to eat the fourth, the 17-year-old cabin boy. The court ruled that cannibalising the boy was not urgently necessary. Even though the cabin boy would almost certainly have died of natural causes, the sailors killed the boy intentionally and were guilty of murder. There was some degree of necessity arising from the threat of starvation but, at any moment, a ship could have sailed over the horizon to save them as, indeed, the three were rescued. Since they could never be sure that the killing was actually necessary from one minute to the next, the defence was denied. Cannibalism itself is not an offence so long as the death occurs naturally.