Storing photos of people is a bit of a can of worms, make it even easier and just ask for ID if this error occurs.
Given there are thousands of security cameras in an airport, I don't think anyone would mind if one was used to record who got on the plane.