Having conducted counterintelligence investigations, I can attest that not everything a foreign intelligence service does is necessarily illegal.