> Do not try to talk your way out of anything. And you do NOT have to and should not answer any questions from law enforcement or the TSA. Ask repeatedly: Am I being detained? Am I free to go?
Unfortunately, this is a pipe dream. At that point, they can do whatever they want to you. Legally? Probably not. But they can still do it, because there is simply nothing you can do except try to fight or escape physically (which won't work). There's no cops to call, no lawyers to call, absolutely nothing you can do. Unless you value your principles more than your time, or even your safety/life, you will compromise those principles to placate your captors.