If you have a connecting flight booked to BKK from PEK (separately) I don't see why they would prohibit you from boarding if this is allowed (check timatic visa information). Print out the page on timatic and your other ticket info to argue your case.
So you'd fly as ticketed and they would not cancel your return.