Interestingly enough, this and many other related ethical conundrum were covered in the Nuremberg Charter from 1945.