Some countries have formal procedures to legalize the activities of foreign agents acting overtly. Laws covering foreign agents vary widely from country to country, and selective enforcement may prevail within countries, based on perceived national interest.
The Russian foreign agent law requires anyone who receives "support" from outside Russia or is under "influence" from outside Russia to register and declare themselves as "foreign agents". Once registered, they are subject to additional audits and are obliged to mark all their publications with a 24-word disclaimer saying that they are being distributed by a "foreign agent".
What existing legislation was used to justify the ban of Russian media outlets and Russian propaganda sources?
The Foreign Agents Registration Act is a United States law that imposes public disclosure obligations on persons representing foreign interests. It requires "foreign agents" to register with the Department of Justice (DOJ) and disclose their activities.
The Foreign Influence Transparency Scheme Act 2018 is an Australian statute that creates a registration scheme for foreign agents in Australia.