Totally agree with you. We had a similar situation with the rate of capital gains tax. Until a couple of year ago that it was brought into line with the residents.
That was a good time for the Spanish Government to harmonise the situation but the ethos of milking foreginors is a habit that they cant let go. Of Course this detrimental to inward investment in Spain.