Upvote:5
Two considerations:
Upvote:5
You mentioned specifically that "the gate passports are scanned by computer" and "the airlines have passport numbers to check that the right person is getting on the plane". Neither of those is quite as you understand it.
When you checked in and your passport was scanned, the passport number was formally associated with the PNR in the airline's database. (You can enter a passport number when you book a ticket, but that number is just a "suggestion". Plenty of people have multiple passports, or change passport between booking and check-in.) The association between a physical passport's number and a PNR was done after the check-in agent visually inspected your passport (particularly the photo) and pulled up (what they thought was) your reservation. The names didn't match, but that's hardly unusual; booking sites and travel agents routinely switch first and last names, combine names together, misspell names, etc. The check-in agent is responsible for ensuring that there's at least some reasonable relationship between the name on the passport (or other ID) and the name on the booking they've found. Their primary goal is to prevent reselling of tickets, not to make sure you aren't secretly a terrorist with a fake ID.
At the gate, the agent scanned your passport and confirmed its number matched the one that had very recently been associated with the PNR. If you'd glanced at their monitor, you likely would have seen Mr. Smith's name, not yours. The gate agent is trying to get people through as quickly as possible. Their primary goal is to ensure that the person who gets on the plane is the same person who checked in.
Depending on origin and destination country, the check-in agent and/or the security inspection people may have also been attempting to match your passport against a no-fly list. I suspect that nobody involved in your scenario was on such a list, so that doesn't really come into play.
Ultimately, it's not much of a "terrorism consequence" if an incorrect association is made between an airline reservation and a passport. What they want, is for terrorists to not get on planes. You, Bob Smith, presented at an airport with a passport, which was verified to be your passport by matching your face to the one in the passport; the name in the passport (Bob Smith) was checked against a no-fly database and found to have no match; the person with that passport was the person who got on the plane.
The security system worked as intended. The airline system had a bit of a hiccup but not a bad one.