Its not the criminal case pertaining to the shooting itself but the civil suit(s) brought by the criminal and family. Then there’s the possibility of harassment by the criminals friends and family. You can get a court order but that doesn’t stop them from harassing or even trying to murder you. Its a big hairball and the load is completely on the victim. Its better not to shoot if you can.
As for harassment or attempted murder, there's an immediate solution for that, as well.
/johnny