Yes criminal charges are a way to deal with this issue, but the "code of conduct" can be much more quick, powerful and effective, especially for international conferences, where one would have to deal with foreign laws.
Do you have an employer? If so, chances are that there is an anti-harassment policy from it. My employer does, and I am glad it does: it does not replace US laws, but it does help in keeping a nice climate on the workplace.