Ireland on Thursday gave the green light for tech giant Apple to build an 850-million-euro ($1.0-billion) data centre following a battle with conservationists who were seeking to preserve a forest.
Mr Justice Paul McDermott said he was refusing both applications from the objectors and that his reasons are set out in written judgments.
The data centre project has been plagued by delays since it was announced in 2015.
A spokesperson for Apple said that the company is not commenting on the judgment at this time.
"This positive news coupled with Microsoft's commitment to power their Data Centres here on 100% Irish generated renewable power reaffirms our calibre as an optimum location to Host Digital assets".
Irish Prime Minister Leo Varadkar met Apple executives last month and said they had made clear their frustration with the planning and judicial delays and warned the process would color decisions that they might make about future investments.
The objectors' main concern was the poor environmental impact assessment carried out by Apple. An Apple facility in Denmark announced at the same time is near completion, while the construction of the Athenry site has not yet begun.
"I hope now that our public representatives will help us to develop the west coast of Ireland and to bring companies like Apple in to Athenry - and make Athenry a hub town for the whole of the west coast". However, the first hearing in June was delayed by a week, then it was held back to 27 July, with the final decision emerging today (12 October).
Apple was given the go-ahead to proceed with the development by Galway County Council in February 2015.
The first case was by Sinead Fitzpatrick and Allan Daly, whose home at Lisheenkyle, Athenry, is close to the proposed centre. This prompted 2,000 local people from Athenry to march in support of the data centre previous year.