I see, thank you for clarifying. It's true that some people do use Europe to mean EU, I hadn't taken that possibility into account.
In my experience, this is mostly done in sentences like "In Europe something or another is allowed/forbidden/... (by law)", but I can definitely see where you're coming from.