Another is where a bunch of mean aliens turn two crewmen into cubes, and then crushes one to powder (the female crewmen), and then restores the other, just to show their power.
Later Kirk escapes from them, calls a truce, gives them aid, calls them friend and sets course back for home without any mention of bringing the aliens up on charges.
If he hadn't done this, they would crushed the entire crew.
And, one could also say that, in the episode Kirk and his rew taught them about the vulnerabilities of humanity, and that if they had known that before, they might not have done what they did.
Sure everyone agrees that killing the female redshirt was wrong,but you can't impose consequences as normal to this race. I kind of compare it to the way Picard had no way to adequately punish Kevin Uxbridge in "The Survivors."