Ursula von der Leyen said Europe and the rest of the world should be prepared for the impact on energy, migration and security.