(AP) A conservative Christian organization has filed a federal lawsuit challenging a new Massachusetts law that prohibits discrimination against transgender people in public restrooms.

Alliance Defending Freedom filed the lawsuit Tuesday on behalf of four Massachusetts churches to protect their right to operate their facilities "in a manner that doesn't violate their core religious beliefs."

Related: Trump Calls for Repeal of Religious Tax Exemption

The law allows transgender people to use restrooms that correspond with their gender identity.

The lawsuit says that because Democratic Attorney General Maura Healey has found that churches are places of public accommodation, it would force them to open shower facilities and restrooms based on perceived gender identity.

The lawsuit asks the court to suspend enforcement of the law against the churches while their lawsuit proceeds.

A spokeswoman for Healey's office did not immediately provide comment.