Conduct which would ordinarily be considered a crime is justified and not criminal if the conduct is necessary as an emergency measure to avoid an imminent and significant injury.  Essentially this defense is utilized when someone is protecting themselves or someone else from a violent act.   The person using this defense cannot have contributed to creating the situation to use this defense or have been the initial aggressor.  The prosecution has the burden of disproving this defense beyond a reasonable doubt.