I'm sorry you're going through this. It must be a difficult experience.
When an employer is told about sexual, racial, or other types of illegal harassment, it must take all reasonable steps necessary to end it and prevent it from happening further. Although moving you, instead of him, wasn't necessarily the best thing to do here, it also didn't necessarily violate the law so long as it addressed the problem.
The employer doesn't have to keep the person from saying hi to you or from making small talk with you. The employer only has to keep him from engaging in illegal sexual or racial harassment.
The fact that he "antagonizes" you doesn't mean that he's doing anything illegal. People antagonize each other in the work place all the time, and the employer is under no obligation to stop it. If he continues to engage in sexually or racially inappropriate statements, you could then continue to bring that to your management's attention.
In other words, if the sexual and racial harassment has stopped, the employer has fulfilled its duty. You have a legal right to be free from sexual and racial harassment. You have no legal right to be free from antagonistic jerks in the workplace.
Craig T. Byrnes
Disclaimer: Please be aware that I am not offering legal advice, nor forming an attorney-client relationship with you. I am not representing you, nor doing anything to protect your legal rights. If you believe that you have suffered a legal wrong, take action before any statute or limitations expires, or your right to do so may be lost forever. Good luck in your legal matter.
In addition to what has been said already, I would add this: If you believe the employer has not taken appropriate steps to remedy your concerns you may complain to the Department of Fair Employment and Housing (DFEH), asking them to investigate. The DFEH website is www.dfeh.ca.gov.
As well, if you are retaliated against by your employer because of your complaint, seek the advice of a knowledgeable employment law attorney who represents employees.
In addition to the above, if this experience has caused you a great deal of stress you may have a claim of a work injury and be entitled to workers compensation benefits.