It's not a good trap, but it can show that a level of metagaming can be ok, can keep the game moving:
**poof** the PC disapears.
1) He's probably just in a cell somewhere. We'll find him along the way (Dead PC)
2) He may be in danger (as we all know, OOC), lets try to find him quickly! Search everywhere! (Possibly-saved PC).