CoCs are worthless. If a community is not able to detect poisonous behaviour by itself, a .txt file won't help.
Which one do you think is more poisonous? Making a fuss over the maintainer wanting to impose one or just accepting that someone else sees value in something you don't and agreeing to the CoC.
The other person should have the same approach, accept that others do not see it as a worthwhile and not have it.