iby,
I'm fairly certain it's the first scenario listed. This is a huge part of the appeal of Panama, of course.
If anywhere, the answer is probably in this forum or in this website:
http://www.panamalaw.org/
Note: I've never used this law firm nor am I promoting them. I merely like it as a source of info on Panama. There's a ton of info in their site.