The federal judge’s order came less than a week before the 52nd anniversary of Roe