I felt that “James Bond, 007” was a job title and not their real name.
The number, yes, the name, no.