Diplomats are frequently spies. Spying is something that goes hand in hand with diplomacy, and always has. Honestly though, who exactly do you think is doing the spying at these sort of meetings? At embassies? At the UN?
This isn’t even something that governments try to hide.