Don't underestimate the demoralising effect of someone from the opposite gender sharing ablution facilities and sleeping quarters. This is particularly hard on straight women. Poor moral and undermined trust is what defeats armies quicker than anything else.