The story was inspired by the Danish radio play The Return of Don Juan by ; Bergman was intrigued by the character's resurgent popularity.
The story was influenced by the Danish radio play The Return of Don Juan, which led Bergman to be intrigued by the character's growing popularity.