Asylum seekers were told they are committing an offence by camping on the canal.