Several Republican state attorneys general are challenging a federal regulation that seeks to protect the rights of transgender students in the nation’s schools by banning blanket policies that bar transgender students from school bathrooms aligning with their gender, among other provisions.

The officials argue the new policies would hurt women and girls, trample free speech rights and create burdens for the states, which are among those with laws adopted in recent years that conflict with the new regulations.