There’s also the point that “XO refusing command out of loyalty to his captain”, realistic or not, is a long-established cliché of the naval military fiction genre (Aubrey/Maturin, Hornblower, etc) that heavily influenced Star Trek.
2 Likes