Let me guess. The USD wire from Denmark to Germany used a correspondent bank in the United States. So in reality the funds went from Denmark to the
United States to Germany. I doubt very much the payment could have been seized if it had been made in Euros.
Routing a payment for Cuban cigars through the United States is just very dumb, and yes it did violate US law.