Since changing your IMEI is illegal, I don't think docomo would be happy if you brought in a phone with a tampered IMEI... But they can't help you anyway, since docomo can only give an unlock code for a given IMEI. I paid docomo the 3150 yen for my unlock code, but it's the same one you can buy online cheaper.
Whoever unlocked the phone in Thailand probably wanted to increase their profit margin by not buying an unlock code for your phone's IMEI, so they just flashed the NVRAM of an already-unlocked phone to yours, thus destroying your phone's original NVRAM contents. I imagine you would have to bring it to Samsung for repair to restore the original NVRAM.
Alternatively, you can use a b-mobile sim which is the same docomo network without the IMEI check. Their network is throttled to be much slower than "real" docomo, but it would work. AFAIK, Softbank also doesn't check IMEI numbers.
But if I were you, I'd just go to a yodobashi camera and buy a new galaxy nexus for 1 yen. Sell the thailand-unlocked one you have on eBay.
J