Charli Jones Parker, 31, was convicted of having intercourse with two male 16-year-old students while she was a teacher at Pickens Academy. Now she wants her case overturned, claiming that a law prohibiting sex with students is unconstitutional, according to Tuscaloosa News.

Her appeal comes after a Morgan County Circuit Court judge ruled in August that the law violated an equal protection clause which affords teachers the same treatment in court as other professions.

Parker’s attorney argued in a brief filed Tuesday that her conviction should be appealed on the same grounds.