Looting wasn’t the crime, keeping the stuff for himself was the crime. The Soviets stole everything that wasn’t nailed down from Germany, and then some. Payback for what the Germans did to the Soviet Union. Neither side is innocent in war.
I never heard of a successful “pay back” defense being used to keep someone out of jail. Actually Ukraine being invaded is innocent and why we help them.