A federal judge in the US has dismissed a case that sought to invalidate a law that bars people from accessing online gambling sites based on their sex.
The case brought by the Electronic Frontier Foundation, an organisation dedicated to fighting online gambling, was heard in federal court in Seattle.
Lawyers for the plaintiffs, two former federal judges and three prominent lawyers who argued the law was unconstitutional, argued that it violated the Constitution’s guarantee of due process and equal protection of the laws.
The law was signed in 2009, and allows people to claim they have suffered gender-based harassment online and in person.
But the plaintiffs argued that the law violated the equal protection clause of the US Constitution by excluding people on the basis of gender.
Judge Lynn Adelman said in her ruling on Tuesday that the plaintiffs’ claims were “frivolous, frivolous, and without merit”.
The plaintiffs had argued that while some sex-based discrimination might be prohibited by the law, the plaintiffs were not being discriminated against on the grounds of sex.
They said the law discriminated against people of different races, religions, sexual orientations, and ethnicities.
Adelman wrote that the constitutionality of the law would be judged on whether it made people feel unsafe and protected.
The US supreme court last year rejected a similar lawsuit brought by three men who said the same law was discriminatory against them.
The Federal Trade Commission (FTC) has been working to overturn the law in court.
It will be up to the US court of appeals, which will hear the case on Wednesday, to decide if it is constitutional.