I’ve heard the story of an SS Lieutenant that refused an order to massacre Polish civilians in retaliation for a Polish attack during the 1939 operation. He was to be court-martialled and sentenced to death. But a funny thing happened on the way to the German court-martial – they found he was right! The authorities faced a dilemma of which neither option seemed palatable. His orders were patently illegal even under German law and all treaties signed so early on in the War, and his trial would have been an either embarrassing sideshow in which his council could theoretically have called for investigations and trials of senior Nazi party members for murder and war crimes. Or it would have been an embarrassing show trial (at that point) in which the lawless, putrid nature of the Nazi regime would have been exposed as law would need to be completely disregarded in order to execute him, providing grist to Allied propaganda.
The case was quietly dropped and he was discharged and then fled West I believe…