Government plans to accommodate asylum seekers on a barge on England's south coast face a possible legal challenge over fire safety.