All country's diplomatic services have a similar exempt mail/pouch system; it's a service we all extend to each other. Others leave ours alone, and we leave foreign government's alone in turn (at ports or elsewhere).
Governments are allowed and expected to keep secrets from each other; this is a way to do it out in the open.