Islam, asylum, immigration and Western security

In the Western world today, the right to asylum appears to be based, not on democratic consent (opinion polls show the vast majority of Western people to be against uncontrolled immigration) but on universal legal principles interpreted by a non-elected liberal caste whose opinions are beyond the democratic voice.