It's completely legal under the law called 'might is right'.
Forget about exchanges. If a random business anywhere in the world buys a product from a factory in a neighbouring country and settles in dollars, this applies.
Forget about exchanges. If a random business anywhere in the world buys a product from a factory in a neighbouring country and settles in dollars, this applies.