Scottish Ministers have been successful in their appeal against a decision by the Outer House of the Court of Session against four offshore wind projects with a combined capacity of 2.3 GW.