There are Russian spies in virtually every diplomatic mission. We do it too. By giving them an official diplomatic status, agents can conduct activities and only need to fear being identified and expelled, as opposed to jailed and facing very stern punishments.