Everything that an espionage/intelligence agency does against foreign governments breaks the foreign laws of that country, it's the entire point of espionage.
Exactly. This is no different from espionage of the past, except it takes place electronically now. If electronic espionage is wrong, where is the outrage against spies and informants?