They were licensed by military officials and were allowed to consort with soldiers only.
他們獲得了軍方官員的許可，允許只與士兵交合。