The Federal Roads Office (Astra) has invited tenders for around 450 projects for solar installations along Swiss freeways. The Solothurn-based start-up Helion Energy, together with partners, has been awarded the contract for around a quarter of these.
I suppose, just like they cut trees/bushes next to it, just by blocking a part of the road.