Herbert Smith Freehills and Pérez-Llorca are behind a €1.8 billion acquisition in the renewable energy sector.