Richard Wagner, the 19th-century opera composer, once faked a homosexual attraction to a gay German king in order to get money from him.