Irish tourists travelling to Spain are being warned to follow new rules in Barcelona after police issued nearly 1,000 fines in a week.