The measures will “interfere with basic constitutional freedoms” and “impede the provision of humanitarian, medical and legal assistance” to migrants.