The EAN definitely doesn't indicate the country where the product was sold. In your Swedish supermarket, I expect you'll find plenty of products with Danish or German EANs (certainly that's the case in Ireland).
As your linked article says, "The first three digits of the EAN-13 (GS1 Prefix) usually identify the GS1 Member Organization which the manufacturer has joined (not necessarily where the product is actually made)"
As your linked article says, "The first three digits of the EAN-13 (GS1 Prefix) usually identify the GS1 Member Organization which the manufacturer has joined (not necessarily where the product is actually made)"