If my country was less than a 100 miles wide and I had vastly larger hostile populations on all sides, I'd be spyin' on EVERYBODY who might affect the outcome of a war!
(Or I'd move...)
And you'd make that decision based on the interest of your country. My decision as a citizen of this country would be to cut off all funds to any country that steals my countries secrets and puts its citizens in harms way. I would also let it be known that any spy caught in my country would be terminated. Immediately.