Actually it'd be great to be given options here, in the form of a mission update. Get scanned, they see passenger is wanted. You can turn them in for a bounty upon landing, you can complete the mission and get slapped with a fine. I'm sure there are some fun ways to go about it other than losing missions in the span of a second.
Hell, that's a really easy way of bounty hunting, though you'd lose faction rep with the original mission faction. Take missions for potentially wanted people and hope they don't eject after the scan, so you can turn them in. If they do eject... scoop the escape pod back up into the cargo bay and then turn *that* in