That was a lesson I had to learn the hard way when I was in the Navy. Being ‘right or wrong’ is often secondary to protocol and chain of command. I did not like it, but was able to accept it.
Once right and wrong are transgressed, the integrity of the arrangement is compromised and all bets are off... or they should be.