Well; in the Dutch military...
They kind of like gay males. That is, for combat things. Put a lot of men together, and at least a few will be gay, right? Put them together for a long time, and romance will raise it's head.
People in love will fight harder. (And since it's a male-dominated world.. There you go.)
If you would have a break-down due to GID problems, then the Dutch military would be forced to have you...
Treated. And they'd pay for the hormones, and, if you stay in long enough, even the surgery.
It's the law.
However: That's officer concerns. The every-day soldiers will still ruin your life. Because it's also a very macho world.