The requirements helped end the public health emergency. But they also prompted a politically charged debate.