Ladies and gents, I'd always presumed that the airline would be obliged to share passenger passport numbers with the airports' customs at both ends. You know, to prevent terrorism, criminals absconding, trafficing etc.
Then whichever passport the airline knew about, both airports' customs would also know, and the one presented the non matching passport would know.
Is this not the case?