What does it matter if its legal or not.... if he goes to the cops... for your assalting him with the spray, then he will have to explain what he was doing so close to you, that you sprayed his face.....

Do you think he is going to risk being in trouble for stalking, by reporting that your sprayed him with mace?