The U.S. Supreme Court upheld states' rights to ban transgender girls from girls' sports Tuesday. Photo by Bonnie Cash/UPI | License Photo

June 30 (UPI) -- The U.S. Supreme Court ruled Tuesday that states can ban transgender girls from participating in girls' sports at publicly funded schools.

Justice Brett Kavanaugh wrote the majority opinion that upheld laws in Idaho and West Virginia. He rejected arguments that transgender athlete restrictions discriminate on sex or gender identity.

"In other words, may schools determine eligibility for women's and girls' sports based on biological sex? The answer is yes," Kavanaugh wrote.

"Consistent with Title IX and the Equal Protection Clause, we hold that the States may maintain women's and girls' sports for biological females. They may determine eligibility for women's and girls' sports based on biological sex. The Constitution and Title IX do not require an overhaul of women's and girls' sports throughout America," he said.