‘Rather than ensure that patients are protected by common sense safeguards, these organizations are racing to court in an effort to continue their ideologically based procedures masquerading as medicine,’ the attorney general’s office said in a statement.