It seems to me that all the lawyers for the girls need to do is find every case related to gender, starting with a woman's right to vote, and state that there is already legal precedent for the court defining what a woman is. Otherwise there was no need for womens' suffrage right?