I always thought that Scotty was the one who was treated badly, for several reasons:
1. He's a legend that at the very least Geordi should know and respect, but he (LaForge) acts exactly the opposite.
2. He's still an active Captain, I assume (was he ever listed as retired?). He should have outranked everyone except Picard, which would make their actions insubordinate.
Whether he'd still be active has been discussed. But is he a legend? He wrote one manual LaForge recognizes. But nobody claims he would have done legendary things. Indeed, all we see in TOS is him keeping the ship going so that Kirk can do legendary things. Or have legendary things done to him.
Timo Saloniemi