Okay, hear me out.
If they put out double or triple agents to basically transfer and leak secrets to the enemy, yet they also release information about how the rights of people in the home countries are being abused by their treasonous governments, then attempts to go after those who are violating the laws and committing treason become unpopular.
If someone technically committed treason and espionage, but they use the public sentiment and wage a propaganda war to have efforts to investigate the treasonous activity blow back on those whom investigate that treason and try to push the issue, then it become less likely that someone else, later down the road will attempt to use the laws against treason against those who are committing the most treason. Therefore, they orchestrated the mass surveillance controversies in order to normalize treason, and shield themselves for their treason, because now it has become unpopular to go after those whom are committing treason, especially if they throw a bone to the citizens of the nation that is being victimized by treasonous activity by supposedly exposing what are already known treasonous efforts to subvert the nation's constitutional frameworks.
Thus, a treasonous government can protect and insulate itself by using treason to expose a little bit of its own treason in order to get the people to develop a distaste for using the laws against treason in the nations most affected by it.