A CX agent told me once if they had to bump people off a flight due to overbooking, they would never do it to code-share ticketed pax. Not sure exactly why but it kind of make sense as it would be difficult to accomodate them on alternative flights (revenue arrangement?).