Mississippi Gov. Tate Reeves (R) signed a bill into law Monday that will prohibit transgender people from using bathrooms that correspond with their gender identities in state public schools.

The bill, titled the Securing Areas for Females Effectively and Responsibly Act, or “SAFER,” requires all public education institutions to have single-sex restrooms, changing areas and dormitories.

The legislation defines one’s sex as “‘solely determined by a birth’ without regard to the fluidity of how someone acts or feels.’”

This means individuals will only be allowed to go into spaces that match their sex assigned at birth despite their appearance or any gender-affirming procedures. Those who do not follow this rule could face lawsuits, though schools, colleges and universities would be protected from liability, the Associated Press reported.