Much better if they won't allowed them, it may cause some confusion on military because not everyone will accept their being. It is also for their own safety, they might be bullied by other soldier that can lower their morale. In the first place, you don't have to change your gender in order to join the military if you really want to, because there are male and female soldiers to begin with.