I have been trying to explain what has happened.
I will call “old journal” a journal created prior to 2.09 and “new journal” a journal created with 2.09.
I was copying and pasting a transaction from an old journal to a new journal. This is how the error was triggered.
But, if I copy and paste transactions from and old journal to another old journal, the error does not appear.
Hope this ca help!