The law, which amounts to an attempt to do an end-run around the right to an abortion, could potentially make certain birth control forms illegal.