From what I remember this happened with vBulletin.
What I did (after discovering this in a test import) was to tell everyone what was going to happen and suggest they export their conversations and start over. (There was an export conversation feature in vBulletin, also is as an addon in xenforo. I don't know about phpbb)
But hopefully someone may come along with an elegant solution...