Sex shop owners have won a High Court victory over licensing fees which could see them claw back an estimated £1 million.
A judge ruled today that Westminster City Council unlawfully used licence fee income to enforce against illegal sex shops.
Mr Justice Keith declared that a recently introduced European directive did not permit the determination of "a reasonable licence fee" to include the costs of enforcement.
It is understood the decision, which has wide ramifications, has left Westminster council alarmed that powers granted to democratically-elected councils have apparently been superseded by a European directive.
Tony Devenish, the council's Cabinet member for licensing and public health, said: "Naturally we are disappointed at this decision, which we intend to appeal.
"Westminster City Council has always maintained that the use of licence fee income to enforce against illegal sex shops is a proper use of public money, protecting the quality of life for our residents and visitors, including the global reputation of London.
"Enforcing against the illegal sex trade actually benefits those who are legitimate operators in the sex industry.
"With millions of extra visitors about to descend on London to celebrate the Jubilee and Olympics, it is critical people see the best face of our city."
Today's landmark ruling was a victory for Simply Pleasure Ltd and six other long-standing licensees of 11 sex shops in London's Soho and two others in Covent Garden and the West End selling adult sex toys, DVDs, and books and magazines.
The judge observed: "When people of my generation hear the word Soho, they tend to think of seedy clubs and illicit sex.
"But the sex industry is now highly regulated."
The judge said that in the past the cost of enforcing the licensing system was often reflected in the licence fee.
But in 2009 new regulations were introduced to implement EU Directive 2006/123/EC, which was aimed at creating "a free and competitive market for services within the European Union".
The judge said that "whatever domestic law had permitted in the past", the directive did not allow the licence fee to exceed the administrative costs covering "the steps which an applicant for a licence has to take if he wishes to be granted a licence or to have his licence renewed".
Since 1999 Westminster Council has closed 68 illegal sex shops.
The council spokesman said: "This is part of our determination to regulate the industry in Soho and ensure London is at its best ahead of this summer's celebrations."
The judge acknowledged that the sex shop-owners who brought today's challenge were the beneficiaries of the council's licensing system.
"Effective enforcement means that they do not have to worry for long about unlicensed competitors," he said.
"Since they get much of the benefit of that enforcement, should they not have to pay for at least some of it?
"I see the force of that, but it does not necessarily follow that those who benefit from a service provided by a local authority should have to pay for it.
"Many services are funded from the local authority's general fund, whether the source of that fund is the council tax paid by local residents or businesses or funding from central government, especially when the community as a whole benefits from that service.
"The fact that the council has preferred over the years to use the licence fee to charge the operators of sex establishments for enforcing the system does not affect the proper interpretation of the 2009 regulations.
"For all these reasons, therefore, I have concluded that since the year beginning February 1 2010 the council has not been permitted, when determining the reasonable licence fee for sex establishments, to reflect the fee which it determines the costs of enforcing the system."
A flooded road is seen in Hatteras Island, N.C., Sunday, Aug. 28, 2011after Hurricane Irene swept through the area Saturday cutting the roadway in five locations. Irene caused more than 4.5 million homes and businesses along the East Coast to reportedly lose power over the weekend, and at least 11 deaths were blamed on the storm. (AP Photo/Jim R. Bounds)
Gael Monfils of France slides to play a backhand against Juan Carlos Ferrero of Spain in their second round match during day four of the Internazionali BNL d'Italia 2012 at the Foro Italico Tennis Centre on May 15, 2012 in Rome, Italy. (Photo by Clive Brunskill/Getty Images)
An Indian woman washes face with water gushing out at a public tap between train tracks at a railway station in Jammu, India, Tuesday, May 15, 2012. (AP Photo/Channi Anand)
A worker fumigates the field before the start of an Indian Premier League (IPL) cricket match between Delhi Daredevils and Kings XI Punjab in New Delhi, India, Tuesday, May 15, 2012. (AP Photo/Manish Swarup)
A clown jokes as he sits at a bus stop during a clown parade in San Salvador, El Salvador, Tuesday, May 15, 2012. More than 100 clowns from Central America and Mexico attended the clown convention. (AP Photo/Luis Romero)
People walk outside the Greek parliament on Tuesday, May 15, 2012. Greece is headed for another month of political paralysis ahead of new elections in mid-June, after party leaders on Tuesday failed to reach an agreement to build a coalition government. The protracted deadlock and the prospect of an anti-austerity party winning the new vote hammered Europe's markets on fears that the debt-crippled country could be forced out of the European single currency, triggering shock-waves throughout the 17-country eurozone. (AP Photo/Petros Giannakouris)
A fan, top left, and Baltimore Orioles left fielder Xavier Avery reach for a two-run home run by New York Yankees' Curtis Granderson in the seventh inning ofÂ a baseball game in Baltimore, Tuesday, May 15, 2012. Baltimore won 5-2. (AP Photo/Patrick Semansky)
A giant mural of the face of Johnny Depp as Barnabas Collins in Tim Burton's film the 'Dark Shadows' hangs on a Park Avenue Building May 15, 2012 in New York. The Warner Brothers movie is a adaptation of the 1970s vampire televsion series. AFP PHOTO TIMOTHY A. CLARY (Photo credit should read TIMOTHY A. CLARY/AFP/GettyImages)
Berlin´s fans throw firework on the pitch during the Relegation match for Germany´s first division Bundesliga between Fortuna Duesseldorf and Hertha BSC Berlin in the German city of Duesseldorf on May 15, 2012. The game ends in a 2-2 draw meaning Fortuna Duesseldorf will play in the first division next season and Herth are relegated to the second division. AFP PHOTO / PATRIK STOLLARZ (Photo credit should read PATRIK STOLLARZ/AFP/GettyImages)
A model posing with the Beau Sancy diamond during a Sotheby's auction press preview in Geneva. A centuries-old diamond passed down through generations of European royalty fetched nine million Swiss francs ($9.7 million) at auction in Geneva on May 15, 2012. The 35-carat 'Beau Sancy' diamond was worn by Marie de Medici, Queen consort of Henry IV, at her coronation in 1610. An anonymous telephone bidder purchased the jewel, put on the market by the House of Prussia and described by sellers Sotheby's as one of the 'most fascinating and romantic' gems ever to come to auction. AFP PHOTO/ FABRICE COFFRINI (Photo credit should read FABRICE COFFRINI/AFP/GettyImages)