Like in “John met David. He was delighted to meet him.” We have a conflict over the ‘masculine object’ register, so ‘he’ and ‘him’ are ambiguous.
But if we had a pronoun like ‘de/dim’ for ‘previous subject’ and ‘ne/nim’ for ‘previous object’ you could unabiguously say “John met David. De was delighted to make nis acquaintance, but ne wasn’t so keen”