Charter of the International Military Tribunal
Nuremberg Trials
Under ARTICLE 6 (c) Crimes against Humanity: namely, murder, extermination, enslavement, deportation, and other inhumane acts committed against any civilian population, before or during the war, or persecutions on political, racial, or religious grounds in execution of or in connection with any crime within the jurisdiction of the Tribunal, whether or not in violation of domestic law of the country where perpetrated.
ARTICLE 7
The official position of defendants, whether as Heads of State or responsible officials in Government departments, shall not be considered as freeing them from responsibility or mitigating punishment.
ARTICLE 8
The fact that the defendant acted pursuant to order of his Government or of a superior shall not free him from responsibility, but may be considered in mitigation of punishment if the Tribunal determine that justice so requires.
When I was on active duty in the U.S. Army, there were posters everywhere informing Army personnel that they must refuse to carry out an illegal order. The example given of an illegal order was rape: "An order to rape is obviously illegal."
An order not to interfere with rape would obviously be as illegal as an order to commit rape.
Furthermore, the Nürnberg Trials established the principle that both the person committing such a crime and the person giving the order to commit such a crime are equally culpable.
Accordingly, anyone who refuses to interfere in the rape of a child and anyone giving the order to do so are guilty of criminal behavior as established by the Nürnberg Trials.