'Close confidant' of Prince Andrew barred from entering UK over security risk