Ilya contacted us and we tried to resolve the issue remotely, but this proved ineffective. In the end, we decided to go to the airport to communicate with an immigration officer. After lengthy negotiations, it turned out that there had indeed been a mistake, and we needed to cancel the visa and re-issue all the documents for another passport.