And you have cases where flyers skipped customs, because the wrong route was open(or plane got routed to wrong terminal which was domestic only)
Example:
https://abcnews.go.com/US/passengers...ry?id=35373089
If it does happen to you, raise a fuss... Otherwise, if you leave airport, you'll need to return and be processed via customs