ICE agents have some degree of lawful authority legally vested in them at some level of American governance, so it stands to reason that individuals can make the claim they felt 'required by some law' to do as that agency apparently behoved of them.
Especially if ICE were making statements along the lines of 'you're legally required to do this or that', then there's an issue here.