A code of conduct is none of those things. It is an invitation: "this is how we expect people attending our event to behave; where you find it not so, be assured that your concerns will not be ignored. Here are ways to help the event organizers address conflicts: A, B, C."
There is a legitimate need for this statement to be made.