Dublin wants a written guarantee that there will be no hard border between Ireland and Northern Ireland.