Political tensions mean the two nations have been shut out from the EU's multi-billion pound Horizon programme.