The visa was not required at all. The airport visa checking officer understood the issue and let the person pass without any issue.