The NBA may pull the 2017 All-Star game from Charlotte following a new law passed in North Carolina that prohibits local governments from passing their own anti-discrimination measures and specifically allows for discrimination against transgender people.

The law, which goes into effect on April 1, passed during a special session on Wednesday night and was quickly signed by Republican Gov. Pat McRory. It requires people to only use a public restroom that’s aligned with their biological sex.

It’s been widely criticized by many major corporations, but none have taken steps to pull business from the state.

The NBA, however, is leaving the door open to do just that.

“The NBA is dedicated to creating an inclusive environment for all who attend our games and events,” the NBA said in a statement.

“We are deeply concerned that this discriminatory law runs counter to our guiding principles of equality and mutual respect and do not yet know what impact it will have on our ability to successfully host the 2017 All-Star Game in Charlotte.”

Multiple columnists have urged the NBA to relocate the game from Charlotte.

When Jason Collins became the first openly gay player in the league in 2014, NBA commissioner Adam Silver voiced his support, saying he’s “enormously proud that the first openly gay player is playing in the NBA.”

The NCAA men’s basketball tournament games also could be at risk of getting pulled from Greensboro in 2017 and Charlotte in 2018. The organization said it takes into account diversity when selecting sites for tournaments and other events.