Main breaker is on top (of the panels I am talking about). The panels that were upside down had the mains on the bottom and the labels in the can were upside down.
What they did was to have two panels, one above the other, fed from the middle, with the upper panel upside down.
I was told by the foreman that any panel that had all horizontal breakers could be mounted either way and the inspector agreed.