Countries cooperate, spy on each other, and release information all in accordance with the politics at the time. 

Some we arrest, some have diplomatic immunity, some we swap for some of ours.

We  had  Israeli spy Jonathan Pollard in a Federal penitentiary from 1987 until  2015 despite fervent pleas by the Israelis for most of that time.

 That is reality.