Inspired by the scene in Monty Python and the Meaning of Life, where the teacher played by John Cleese has sex with his wife in front of his students as part of sex education. Except in the story the teacher would get his students to have sex with his wife after having sex with her himself.