Every month, thousands of women thwart abortion bans in their home states by turning to telehealth clinics willing to prescribe pregnancy-ending drugs online and ship them anywhere in the country.

Whether this is legal, though, is a matter of debate. Two legal cases involving a New York doctor could wind up testing the shield laws some states have passed to protect telehealth providers who ship abortion pills nationwide.

Dr. Margaret Carpenter faces a felony charge in Louisiana for supplying abortion medication through the mail to a pregnant teen in that state. The patient’s mother also faces criminal charges. A Texas judge fined the same physician $100,000 after the state accused her of prescribing abortion medication for a woman near Dallas.