The permission came as an answer for this question: “Is it allowed in our days for an Israeli occupation soldier, for example, to rape girls during a fight, or is such a thing forbidden?”
“The wars of Israel are religious wars, in which they differ from the rest of the wars the nations wage among themselves,” the Israeli Jewish rabbi said.
He said that during the wars, the Israeli soldier has to maintain his fighting ability; therefore, the prohibitions which weakens his ability must be broken even if they are related to morals.
“As in war the prohibition against risking your life is broken for the benefit of others, so are the prohibitions against immorality,” the rabbi said.
To make things clearer, he explained: “Wine touched by gentiles, consumption of which is prohibited in peacetime, is allowed at war, to maintain the good spirit of the warriors. Consumption of prohibited foods is permitted at war to maintain the fitness of the warriors, even though they are prohibited during peacetime.
“Just so, war removes some of the prohibitions on sexual relations and even though fraternising with a gentile woman is a very serious matter, it was permitted during wartime out of understanding for the hardship endured by the warriors.”
He even went more beyond rape and said: “And since the success of the whole at war is our goal, the Torah permitted the individual to satisfy the evil urge in his soul.”
Since the Israeli soldiers are fighting Palestinians, it is clearly understood by the Israeli Jewish rabbi meant the Palestinian women when he answered the question.