If I remember correctly, the Battle of Agincourt, where the Welsh archers destroyed the French knights, was fought by archers with their pants around their ankles.
Apparently, there was a dysentery outbreak. They didn’t retreat, because they couldn’t. Maybe that was the thinking behind this edict.