Legal ruling on Longhedge solar farm