I’d say for simplicity I’d mount them flat to the walls and call it simple. Sure you’ll have less peak output but adding 2-3 more panels will offset the losses.I have no permit requirements for my barn, and this particular project is for my barn proper. I may later use the roof of the barn for panels for my house itself, but I cannot do that now. ($$)
What direction is the wall facing you plan to wall mount?