Are we talking about "Into Darkness"?
I figure there, Kirk wasn't in trouble for saving the species, he was in trouble for revealing the Enterprise just to save one officer.
If we're not talking about "Into Darkness", then I've just illustrated how often Trek goes for this plot point, lol.
Lol. I'm going to point this out to my friends during our next rewatch. That's amazing.