phone (the bottle)In my analogy, the bottle would have been an application. The App Store (the restaurant) contains applications (the alcohol), not the phone. The phone would be, I suppose, the "world". After all, if you abandon that phone, the rules of that world do not apply.
The analogy strains at this point anyway: In my jurisdiction, and most others that I've lived, restaurants by law only sell alcohol in open containers, which you can only consume on site. You can't take it home with you. I know it's not the same everywhere, but it's hard to draw a consistent analogy when the thing being analogized to doesn't behave the same way everywhere.
On the other hand, maybe that is apt.