"what about when the music's terrible and the writing finds inventive, witty and entertaining ways of pointing this out?" In cases like that, the music is invariably better than the writing.