Perhaps, but the U.S. has also entered into international agreements not to spy on certain diplomatic channels, though. And even if it were legal, its revelation could do more to isolate and harm U.S. foreign relations than the good that might have come from it.