Ensuring public security and delivering free justice is the foremost task left with sovereign state. That is to be legislated for and treated accordingly. It is called the rule of law that actually establishes law and order in its domain. People elect leaders so democratically they can build effective pressures on politicians to act accordingly.
The reactionary apartheidism is posing the biggest ever threat to public security in Arab and Europe. Its sheer disregard to the free will of the individual and any local values is fearsome for the people everywhere.
The chasm between the glamour of the geopolitical stage and the political squalor back home is getting despairingly vast since no more any civilized people are willing to allow an influx of refugees permanently endangering public security of their homeland.
It is a military question by now and must get tackled only that way. If any tyranny is seen making many refugees then those refugees must get trained militarily to fight back for establishing democracy.
There should not be any other remedy involved. The final victory of public security is a must for establishing human order on planet earth. All the men must get governed.