Otto Skorzeny was tried for Operation Greif for going into combat wearing American uniforms. The star witness for the defense was the British SOE officer Forest Yeo-Thomas who testified that the Allies used captured German uniforms and that Skorzeny's use of uniforms as a deception was normal for Allied special operations.
That characterization (that the US committed the same crimes, so Doenitz got off) is incorrect. The Charter of the IMT explicitly ruled out a tu quoque defense. The Nimitz statement to the Tribunal was stating that the Allies and Doenitz interpreted the laws regarding submarine warfare in the same way and that unrestricted submarine warfare was not illegal. A major distinction.
There are some contradictions, such as the charges pressed on General Erich von Manstein for the alleged abuse of civilians by the soldiers under his command (AND forhis apparent ignorance of the SS operating in his zone of command), despite the abuse of POW's and civilians was also done in varying extremities by the Soviets, who sent many prisoners to Gulags and in their vengeance were responsible for the rape of German women and mistreatment of prisoners and the populace. In many areas, Soviet oppression replaced German oppression. (obviously not as bad as the Germans i'd wager, however). This was not considered enough during Mansteins trial to be not punished for the crimes. Three other German commanders faced similar charges, such as General Gerd von Rundstedt, though two of them (Rundstedt being one of them) were released on the ground of poor health, and the fourth died before the trial took place.
I am not aware of examples of Germans being excused for their crimes due to similar done by the Allies, however