A South Korean court ordered the Japanese government on Friday to pay damages to a group of former "comfort women" over their treatment in Japanese military brothels during World War II, marking the first such court ruling in South Korea.