The Supreme Court ruled Wednesday that former Soviet-bloc spies could not sue the CIA for allegedly backing out on a pledge of lifetime support in return for espionage services.

A former high-ranking diplomat and his wife, identified in Court filings only as John and Jane Doe, had argued that the CIA should not be immune from lawsuits alleging a breach of a spy contract.