Have you included the details of the loss on a tax return previously? There’s a reasonable likelihood of you being asked to evidence your carried forward losses which will be easily enough done if you have the necessary paperwork around the purchase and sale in Spain.