Countries in Europe did the same thing when it came to Iran.
De Beers sold industrial diamonds to Germany throughout the war.
OK, with a steep markup.