A federal courtroom blocks imposing key provisions of the state statute.