In the book The Kinks: The Official Biography, Ray Davies says that he was inspired to write this song after the band manager Robert Wace had spent the night dancing with a transvestite.