Make an appeal to higher court. I found it useful to always have a pen in my pocket, it's small and it can work wonders for self-defense. Hold it between your index and middle finger, the button should be pressed into your palm (in the traditional way of holding a pen, your finger might slip and you lose the pointy end). You use it like a knife and you don't hesitate, because otherwise you will do nothing, you should aim for the soft zones, e.g. the eyes, the side of the neck, the ears, under the ribs, the legs. Then you take it with you and run. For me, learning self-defense was a crucial point in this period of my life. Also, you can prepare a recording app on the desktop of your phone, you can turn it on in your pocket and use it as an evidence later on if he tries to approach and threat you. I know it's scary and the bare thought of getting caught will make you sweat and your heart will try to fly out of your chest. If you tell yourself not to think that in the worst case scenario you are lost completely, but instead be always prepare for it, maybe you will find the strength in yourself, if not now, maybe later on. I had a problem with a stalker for a long period of time and eventually find myself moving into another country for studies. I know how scary it is and the moment you see him you enter in a panic state and you are not longer you, I was letting my stalker bully me for a long time only because my mind was just freezing and I was not able to move or react. Take care. If he has mental problem, they should put him into a hospital. If you can, don't give up your rights, make an appeal.
P.S. If things get worse, you might consider contacting the media, when in they are in the public eye, the judges will treat you a lot differently. Since it's a case connected with sexual harassment, the media is obligated by the law to keep your identity confidential (studying journalism).