Spain has set up contingency plans in case there is no final deal on Brexit, junior EU affairs minister Luis Marco Aguiriano said on Thursday.