I have a whole calendar with a different goats in trees picture every month . If the trunks are at a low enough angle, goats will climb up to get leaves, one of their favorite foods because they contain lots of minerals.
I have seen many examples of tree climbing goats while in Greece, I know !!!! ............. I couldn't believe it either but low and behold it's true, they can and will climb into tree's.