The leaders of Britain and Ireland are meeting in an attempt to find common ground for an elusive Brexit deal, with just three weeks until the U.K. is set to leave the European Union.

British Prime Minister Boris Johnson and his Irish counterpart Leo Varadkar are scheduled to hold a private lunch meeting Thursday in northwest England.

Britain is due to leave the 28-nation bloc on Oct. 31, and attempts to find a deal have foundered over the border between EU member Ireland and the U.K.'s Northern Ireland.

Irish Prime Minister Leo Varadkar grimaces during a press conference with Swedish Prime Minister Stefan Lofven in Stockholm, Thursday, Oct. 3, 2019. (Henrik MontgomeryTT News Agency via AP)

Irish Prime Minister Leo Varadkar grimaces during a press conference with Swedish Prime Minister Stefan Lofven in Stockholm, Thursday, Oct. 3, 2019. (Henrik MontgomeryTT News Agency via AP)

The currently all-but-invisible border underpins both the regional economy and Northern Ireland's peace process.

Under a U.K. proposal, there would have to be customs checks on some goods, though not on the border itself. The EU says any customs checks are unacceptable.