An unexpected solution to the migrant crisis