IANAL, but international law precedent has allowed countries to prosecute web services for providing services to a country where that service is illegal. A French NGO successfully sued Yahoo! for selling Nazi memorabilia, a crime in France, despite Yahoo! being a US company [0], and this was upheld by US courts.
[0] https://en.wikipedia.org/wiki/LICRA_v._Yahoo!