Could you use the correct language tag? I don't speak Spanish, thanks.
In any case, I note that France imported 10.2 TWh from Spain and exported 12.9 TWh in 2024 [1], so I don't directly follow your claim in this that France limited Spanish import.
I understand that the interconnections between France and Spain are limited. Could that be a reason?
[1] https://www.energy-charts.info/charts/import_export/chart.htm?l=en&c=FR&year=2024