 In international law, SR is not regarded as espionage if combatants are in proper uniforms, regardless of formation, according to the Hague Convention of 1907, or the Fourth Geneva Convention of 1949.However, some countries do not honor these legal protections, as was the case with the Nazi "Commando Order" of World War II, which was held to be illegal at the Nuremberg Trials.While SR has been a function of armies since ancient times, specialized units with this task date from the lead-up to World War II.