If my boss/product manager wanted me to do something like this, I'd be calling them out for shitty politics, and telling them they need to find a new engineer because I'd quit immediately - and likely incite others to come with me.
Maybe I have a higher sense of morality than others, but I'm no shill for China's power over Taiwan. I can use my entitlement/privilege as an engineer to say "fuck off" to anyone who wants me to do things I find immoral. Furthering the needs of a power hungry regime looking to assert dominance over others? Nope. I spend all my day working to further democracy and freedom, not to enable free thought and self-determination to be squashed.
Whoever coded this change and approved this PR, shame on you.