Don Juan was a character from Earth literature.
He appeared to Yeoman Tonia Barrows on the Shore Leave Planet during shore leave. The planet was able to probe the minds of the people on the planet and recreate their thoughts. Barrows wanted to be romanced and had chosen the famous lover as her beau. (TOS: "Shore Leave")