Also because of that King Juan Carlos and Queen Sofia couldn't attend the wedding of te PoW and Diana Spencer. Their present did arrive though: A set of monogrammed leather suitcases...
I'm guessing the Gibraltar issue has been the main reason for the previous lack of state visits between the two countries.