Other people on facebook on the Norwegian Epic said they boarded at rome and still got charged VAT on all drinks at all ports with the drink package.
It can't be to do with where you board surely. Because if you board in Barcelona, but then dock somewhere in spain, that no longer has anything to do with spain, you're totally outside their country and spanish waters.