Harry Potter is to receive the full spoofing treatment, complete with lavatory humour and innuendo.

MGM studios said on Friday it had bought the script of Henry Bates and the Sorcerer's Balls - a comic parody of both the hugely popular Harry Potter and Lord of the Rings series.

In a masterstroke of wordplay, the Hobbits and Gandalf the good wizard are replaced by the Bobbits, who languish under an evil sexual spell, and the good wizard Gandolfini who battles the bad wizard Enron.

Henry Bates attends a school called the St Buggerers Academy for Boys and One Girl, and sets out on a quest to regain his kingdom - the Land of Middlefinger.

Fans

The script was written by the anarchic US team of Tim Stack, James R Stein and David Morgasen who were responsible for the television series Son of the Beach - a take-off of the hit sex and swimsuit series Baywatch.

"It is irreverent but we are fans of the books and the movies. We think people will get a kick out of this," Morgasen told Reuters. The writers are hoping to keep the script clean  enough to earn a PG-13 rating.

"It is irreverent but we are fans of the books and the movies. We think people will get a kick out of this"

David Morgasen,
co-writer

There have been no decisions yet on casting but MGM is expected to move quickly given the short shelf-life of the idea.

The Return of the King - the third and final part of the The Lord of the Rings series - is due to reach cinemas next month. The third of seven potential Harry Potter instalments - The Prisoner of Azkaban - is scheduled to be released in June next year.