I'm still trying to recreate the problem that Liquorice reported to me via PM. No luck so far. A couple of links have gone dead, which is not surprising with government websites.
I have a feeling that *102# is for checking one's phone number, not the last for digits of one's passport number àregistered with the mobile phone provider.
Your experience shows that sometimes, perhaps not always, standing one's ground earns oneself respect from the government agency concerned. Thank you for sharing it.