Codes of Conduct can never replace good intentions, mutual respect and human decency, but in the right hands, they can be an excellent tool for bullying and abuse.
Conversely, if a genuine psychopath enters the group with the goal to rape someone, or to extract resources or inflict personal harm, they will not be be held back by any code of conduct, and may even skillfully exploit it against those that want to stop them.