Navy midshipmen are considered non-commissioned officers: Legally, midshipmen are a special grade of uncommissioned officer that ranks between the senior noncommissioned enlisted grade (E-9) and the lowest grade of chief warrant officerInteresting. Is that a real world thing in the navy?
They have their own chain of command and but the commanding officer has some discretion in inserting people to the ship's chain.