If you were based in the UAE before, the agreement was different there. There are only about 5/6 countries with double taxation agreements with italy where you pay ONLY in the country where you are based, irrespectively of where you are resident. It's Qatar, UAE, South Korea and a couple of other that I don't remember.