A little late for this one, but I'd make the argument that the "5 foot rule" is meant to apply to horizontal distance inside a building, not vertical.

As long as the panel is within 5' H from point of entrance this argument might work.