"It is unlawful for any person... to import, export, transport, sell, receive, acquire, or purchase in interstate or foreign commerce... any fish or wildlife taken, possessed, transported, or sold in violation of any law or regulation of any State or in violation of any foreign law"
So you're correct, and it's a badly-written law, but I think any reasonable judge would interpret it as being restricted to violations of foreign laws committed on that country's soil or waters. If Elbonia passes a law against stepping on ants, and you squash one on the sidewalk outside your house in the US, I don't think you're in jeopardy from this.
In the case of the .IO domain regulations, a similar interpretation doesn't make any sense. Packets don't go through customs.
"No .IO domain may be used, directly or indirectly, for any purpose that is sexual or pornographic or that is against the statutory laws of any Nation"
It's obvious that they don't enforce this as written, but wow... talk about a lawyer's nightmare.