I understand what you are saying, but as you say you are unfamiliar with UK service law. I do know that a lot of the laws that are used today in the UK army, and were in place during the Napoleonic war. They are very much in difference to the ones you talk about, but whether UK or American, even if it were not against military law, there would be found another reason why the gays would not be allowed in the military of either country. 1: there is not an American officer above the rank of colonel which would jeopardise his/her career to openly defend a gay staying in the forces, with the fear of themselves being called camp. 2: with their stiff upper lip, and pomp and ceremony, the British officers are no different. The higher ranks, in the war departments on both sides of the pond, are full of outdated bigots, and they are dinosaurs of the free world.
The same punishment takes place in the UK forces, and it is carried out with immediate effect. There was a case in my unit, and the two personnel were flown back to the UK from Cyprus, went to a holding camp and were dismissed from the service, all within 24 hours. There were no charges, no trial and no court martial, because gay relationships never take place in the British army.
Regards ian 2411