Funnyman Mike Myers had to rewrite the script for Wayne’s World 2 after movie boss Sherry Lansing realized he had based the whole plot on a 1949 British comedy.

In an extract from Stephen Galloway’s new Lansing biopic, Leading Lady, obtained by The Hollywood Reporter, the writer reveals the then-Paramount chief was furious to learn the sequel was a rip-off of Ealing comedy Passport to Pimlico and laid into Myers.

Producer Lorne Michaels tells Galloway, “I think he (Myers) believed they (studio bosses) had bought the rights to the other movie so that he was free to use it.”

To avoid production delays, Lansing demanded Myers rewrite his script.

One source tells the author, “She said, ‘How dare you? How dare you put us in this position?’ She turned to Mike and said, ‘We’ll sue you. We’ll take your f---ing house. You won’t even own a f---ing home’.

“(She added), ‘If I were you, Mike, I’d go to Lorne’s office right now, and stay there until you come up with a new script. We’ll slide food under the door’.”

Galloway points out Myers did as he was told and rewrote the script. He never worked for Lansing again.