This bill restricts Massachusetts police, jails, courts, and state agencies operating in state buildings from assisting federal civil immigration enforcement—generally barring inquiries about or sharing immigration status except when legally required or in certain criminal cases. It strengthens protections for detained individuals (including access to counsel, privacy, and interpreters), requires judicial warrants for most courthouse civil arrests, mandates employer notification of ICE record checks, and streamlines certification for victims seeking federal relief. The attorney general enforces the law, with multilingual guidelines to inform agencies, employers, and the public.