LONDON (AP) — Britain's Supreme Court on Wednesday ruled unanimously against tycoon and U.S. presidential contender Donald Trump in his battle to stop an offshore wind farm near his upscale Scottish golf resort.

Trump claims the 11-turbine project, approved by the Scottish government in 2013, will spoil the view from his golf course near Aberdeen in eastern Scotland. He has vowed to stop further development of the resort if the wind farm goes ahead.

Trump's lawyer said the battle against the wind farm would continue.

Two Scottish courts had previously ruled against Trump, who had claimed the Scottish ministers had no power to authorize the wind farm.

George Sorial, a lawyer with the Trump Organization in New York, said in a statement that the verdict is "extremely unfortunate" for all residents of the Aberdeen area and will "completely destroy the bucolic Aberdeen Bay and cast a terrible shadow upon the future of tourism for the area."

He said Trump will continue to "fight this proposal on every possible front."

The lawyer also said the wind farm's technology is "many years obsolete" and predicted it will never be built.

Scottish Energy Minister Fergus Ewing said the Supreme Court ruling will make it possible to "test and demonstrate new technologies" to reduce energy costs, and help Aberdeen develop renewable offshore energy sources.

The decision comes amid a storm of criticism in Britain over Trump's campaign comments about Muslims. The Scottish government has revoked Trump's status as an unpaid business ambassador with its GlobalScot network, and Robert Gordon University revoked his honorary degree.

A record number of Britons last week "signed" an electronic petition calling for Parliament to ban Trump from entering the United Kingdom after he called for a temporary ban on Muslims entering the United States.

Prime Minister David Cameron told the House of Commons that Trump's comments about Muslims are "divisive, stupid and wrong," but he opposed banning Trump from coming to Britain.

"If he came to visit our country, I think he'd unite us all against him," Cameron said.