The judge said the proposed law would allow state health officials “to exercise arbitrary, and potentially discriminatory enforcement on an issue connected to abortion and therefore sensitive and hotly contested”.