This article by Minxin Pei is illuminating in this regard. His main point is that diplomats have to please the Party rather than advice Beijing on the outside world.
https://www.project-syndicate.org/commentary/china-reputation-wolf-warrior-diplomacy-covid19-by-minxin-pei-2020-06