Why must you clear UK immigration when connecting to Ireland in spite of Irish border checks?

//ads -- adsterra.com -- native banner
?>
When flying from the UK to Ireland, you'll clear immigration at the Irish airport.
So why must people connecting in the UK clear immigration (and be photographed at security to prove they did this, rather than using the transit corridor) in order to board a flight to Ireland?
Is it to prevent non-Europeans from entering Ireland posing as Brits by presenting a UK driving licence, and then fly back to the UK (as you don't clear immigration in the other direction)?
Pictures about "Why must you clear UK immigration when connecting to Ireland in spite of Irish border checks?"



Irish border poses challenge for UK exit from EU | Money Talks
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Luciann Photography, Luciann Photography, vectors icon, Luciann Photography