Six men who were among a group of people discovered in a shipping container in Co Wexford have been refused permission to enter Ireland.