Can an employer refuse to employ a foreign national because of the effort involved in ensuring that they have a right to work in the UK?

It is unlawful to refuse employment to a job applicant on the grounds of their nationality. Even if an employer is concerned about the time and effort required in processing a foreign national, under the Equality Act 2010, rejection for employment on racial grounds will be unlawful at any stage of the recruitment process.