You collect the photons you can in such circumstances. Smaller strings in parallel, or microinverters can help a bit. But there's no getting away from the fact shade kills production no matter what you put up.
I have a row of trees which hurts production in the Winter half of the year. I have them lopped annually to reduce the impact. We am permitted to cut them down if we wanted but they look nice and the aesthetic also has value to us, so I accept it costs us production.
I also have outbuildings (two) serviced via sub-boards from the primary dwelling supply.
Plenty of people here installed Starlink thinking it would be their internet saviour (often due to an irrational hatred of the national broadband service), only to realise afterwards that their trees meant poor reliability of signal and worse service than what they replaced.