Notice to all would-be victims: don't be attacked before September 1st or you may be prosecuted if you defend yourself.
You run more of a risk before then of being prosecuted in civil court...but almost zero chance in criminal court so long as the shooting was justified. In the meantime, make sure the attacker is not around to tell his side of the story. :)