The theory of comparative advantage should really be dubbed the theory of static comparative advantage to highlight where it fucked up.
If China believed in it theyd still be making cheap plastic tat. If the west hadnt believed in it China's industrial rise probably wouldnt have been quite so shocking - 90s/00s neolib economists thought China was shooting itself in the foot.