Hopes that Ayrshire could become a renewables powerhouse have been boosted after a key ports project cleared a significant hurdle.