A South Korean soldier who committed suicide earlier this year after being dismissed by the army following gender reassignment surgery won a posthumous victory on Thursday, as a court told the army to recognise her as a woman and annul her dismissal.