Mate, thats just rules. rules you don't agree with.
Often these "rules" extend to conduct far outside of the purview of a project - typically crossing into identity politics.
"If you espouse views I don't like on your personal Twitter, you can't contribute to this entirely unrelated software project."
No, the problem with CoCs is exactly that they are not "just rules".
They are something else hijacking the legitimacy of normal justified functional articulable rules.