The detention of the family of asylum seekers after a routine check-in with immigration officials had caused an uproar in their community.