It's even more of a matter where you draw the line on what is "criminal".The argument is justifiably in theory. It's really a matter of where you draw the line on "aiding and abetting".
E.g. the Swiss banking laws enshrining secrecy were put in place at a time when Nazis enacted death penalty for people for having foreign bank accounts...