There is no reason that the states can't agree to have some immigration controls at the federal level, but that shouldn't supercede the rights of the states themselves to create any laws that they choose above and beyond that.