The door of the Ark need not have been on the upper level.
The terms used to describe the decks as lower, middle, and upper, rather than first, second, and third, suggest that the door was at the middle level.