But you’re right, I’m sure lots of countries do this all the time, including the US.
(https://www.salon.com/2016/11/09/the-hillary-clinton-campaig...)
There is no evidence (afaik) that russian influence materially swayed the results of the 2016 election.
Not-so-fun-fact: the DCCC is still using this strategy to funnel funds from democratic donors into right-extremist candidates races in the 2022 cycle:
https://www.newsweek.com/democrats-spent-43-million-helping-...
https://theweek.com/speed-reads/1015258/the-pied-piper-strat...
To domestic entities, the laws of the land certainly matter. If an adversarial foreign entity is breaking domestic laws without penalty, then domestic entities can focus more on the preventative aspect of enforcement of the law.
But yeah, if you have no enforcement and no deterrence then the law might as well not exist.
https://content.time.com/time/covers/0,16641,19960715,00.htm...
Nowadays the same US politicians and press bemoan Putin and the lack of democracy in Russia. It's a complete farce.