Many known war criminals were given a pass by the allies, and were used for intelligence work.
And rockets. And engineering, etc.
They were war booty. Which is an odd way to think about it and ultimately didn’t play out well.
The book Operation Paperclip is an excellent overview.