same happens to me as well.so i did these steps
what happens is when i insert key in and out , for like the sixth time hazards wont flash doors just unlock even tho it had a remote before but its lostCode:
Close door Hit lock on the master switch Insert key in and out of the ignition about 7 times or until the hazard lights flash Turn key to on position when hazards flash (don't start engine) Press any button on the remote (hazards will blink twice to indicate programmed) Hit unlock on master switch. Done.
I own a nissan tiida as well (2008).
and i am from uae as well
someone from uae at last