There is no violation of the CoC as it stipulates in Rule 24 that the passenger may be reaccommodated in a lower class of service with downgrade credit:
RULE 24
4) If space is only available and used on a UA flight(s) of a lower class of service than originally purchased by the passenger, UA will provide a refund of the difference in fare pursuant to Rule 27 C) 6).