“John Doe” is the name used to describe someone within legal circumstances when the real name is either unknown or protected by privacy laws.
The practice dates back to British courts in the early nineteenth century, when John and Jane Doe were used as names for unknown or unclear defendants in real estate eviction disputes.
“Doe” was an extremely rare name, and there is nothing to suggest that any real John Doe ever existed.
That’s how an unidentified person is referred to as “John Doe”.