MGA leaves people on the Copa triangle flight (SJO MGA PTY but it is there for 30 minutes. I was on PTY-(SJO)-MGA so that was off the plane then back on the same plane. So now I have I think, done every combination they offer.
I have seen in MGA a couple times people being diverted from the aisle towards immigration into the departure lounge but not for my flight - I was waiting for a departure on AA at the time.
MGA would be worse - you'd have to pay for the tourist card and then leave 10 minutes later. Glad I have not.