In what circumstances can an employer lawfully reject disabled job applicants for reasons of their disability?

Under the Equality Act 2010, it is unlawful to reject a disabled job candidate if the reason for rejection is because they have a disability. In contrast, if rejection is because of "something arising in consequence of" their disability, this can, potentially, be justified. Examples could include circumstances in which it would be physically impossible for the disabled person to perform the job; where the location of the work is unsuitable for someone with a particular disability; or where any adjustments needed to accommodate the disabled person would involve prohibitive costs and/or substantial disruption to the employer.