Berlin warned that if Ukraine loses the war with Russia, a mass exodus of migrants of up to ten million migrants will flee the country.