Så kan valresultatet påverka Natos utvidgning och Europas flyktingmottagande.