Martin McGuinness has said he cannot see how the Common Travel Area between Northern Ireland and the Republic could survive in Brexit negotiations.
The arrangement allows the free movement of people between Northern Ireland and the Republic of Ireland.
But the deputy first minister said that is now at risk, adding that he viewed that prospect “with great alarm”.
First Minister Arlene Foster said there was a need to be “innovative” on how to “police” the Irish border.
They were speaking ahead of a specially convened meeting of the British-Irish Council (BIC) to discuss the implications of the UK’s withdrawal from the EU.
The summit in Wales is looking at the implications of Brexit on trade and the economy.
Mr McGuinness, Sinn Féin, said the border will be discussed by the ministers.
“I was alarmed when I heard Theresa May before she became prime minister effectively say that she believed there would be a hard border between north and south,” he said.
“I don’t see how the Common Travel Area could survive the negotiations which we are told are about to take place.
“We have spent the last 20 years forging various agreements which have placed the Irish peace process as one of the most successful peace processes in the world today.
“Anything that resembled a return to border checkpoints would represent a grievous undermining of the Good Friday Agreement.”
Mrs Foster, Democratic Unionist Party, said there needed to be a “realistic way” of dealing with the Common Travel Area.
“When people talk about a hard border, I think they think back to the Troubles in Northern Ireland,” she said.
“Our colleagues in the Republic of Ireland have said very clearly they want to make the Common Travel Area work.
“There are ways to deal with this that we can be creative and flexible about.”
Welsh First Minister Carwyn Jones is hosting Friday’s meeting in Cardiff, with Northern Ireland Secretary James Brokenshire, Taoiseach (Irish prime minister) Enda Kenny and Scottish First Minister Nicola Sturgeon among the other figures attending.
“The Common Travel Area was based on having a common immigration policy that’s not going to be there anymore.”
The talks are looking at how the devolved administrations can help each other during the Brexit process.Risk Warning:
Please remember that financial investments may rise or fall and past performance does not guarantee future performance in respect of income or capital growth; you may not get back the amount you invested.
There is no obligation to purchase anything but, if you decide to do so, you are strongly advised to consult a professional adviser before making any investment decisions.