Solar cells on cattle holding pens seems like a great idea! Probably tons of buildings and farms that would be fine with solar cells on top.
I'm no (food) scientist but I am a lot more confident that it doesn't pose a risk to the food source. But I'm less confident of growing crops under solar cells or solar cells floating on aquatic farms. Likely need significant maintenance over the years to prevent leaching and it's always hard for politicians to fix old instead of …