Obviously there is a solution, but I'd say the vast majority of either fanatics or normies tinkering with the idea of installing a solar roof know anything about those severe problems.
I've installed one recently. I've asked every prospective contractor for the job beforehand about whether I should get some mesh around it. All said they never heard of such a problem. And if virtually all the people that installed all these roofs in your area tell the same story, what do you do?
Half a year later the whole block turned into Guano dump and once the plague is there, mesh around the panels won't do – you need to install spikes as well, because as long as not every solar roof in your vicinity is "meshed" these colonies are still going to use your roof for their "business" as well.
EDIT: Since you've mentioned ROI, the premium for installing the panels with the mesh directly would have been around 500€, having to do it separately (plus the additional spikes) cost 2500€