Ireland on Thursday gave the green light for a company owned by U.S. President Donald Trump to build a scaled-down sea wall at its golf course in the west of Ireland that environmental groups say could damage protected wildlife habitats.

The Trump International Golf Links Doonbeg, owned by the Trump Organization, received permission for two sea barriers of 630 meters and 260 meters (2,070 and 850 feet) in length, Clare County said, a year after it rejected plans for a much larger 2.8-kilometer (1.7-mile) wall.

Residents and environmental groups objected, saying the wall — which is designed to protect the golf course from coastal erosion — could alter the coastline at other points and harm wildlife.