Sœur Sourire
The episode's closing sequence in which Bart and Milhouse visit Samantha at Saint Sebastian's is a reference to the film "Casablanca". One nun leads a group of children and sings "Dominique", a song by The Singing Nun. Cast member Maggie Roswell provided the voice of the nun, but did she not know the actual French lyrics to the song so she made up her own. The writers had difficulties coming up with an idea for the end of the episode. Executive producer James L. Brooks pitched the idea of Samantha getting shipped off to a Catholic school with "fun nuns" that are like The Singing Nun. Other references in the episode include a scene in which Lisa reads a magazine with the headline "The Year 2525 - were Zager &amp; Evans Right?", referring to musicians Zager and Evans and their song "In the Year 2525". Milhouse muses that his relationship with Samantha started like Romeo and Juliet but ended in tragedy, unaware that the play also ends in tragedy. Milhouse's original line in the scene was "It feel like somebody gave my heart a wedgie." Milhouse has a poster in his room featuring an X-wing from the "Star Wars" franchise.