> more work was shifted to be done in the restricted country
Yes and it cost them more overall. People who design sanctions know well that they provide a powerful incentive to the development of indigenous alternatives in the target country. The calculus is that on balance, it is more desirable to force the target country to waste their resources on catching up (or on circumventing sanctions). The point is to make things more expensive.