The text is a proverbial expression suggesting that extreme situations require extreme solutions. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
Desperate diseases must have desperate remedies .