A restraining order is just a piece of paper to someone who doesn’t CARE about the consequences.
I would think they should be an effective way of notifying someone that if they wish to avoid getting shot they should stay off their property; failure to heed such warnings could be regarded as a sign of hostile intent.