Yes. You are allowed to drive under the influence of alcohol if you are trying to save someones life.
Or even shoot someone, as long as you could reasonably expect that your or someone else life was in danger. Even if it turns out that there was no real danger, for instance you where threatened with an unloaded or even a fake gun.
If you are very hungry, and steel a sausage, the crime compared to the need is very low.