Of course it doesn't. Do you think the Thai authorities do an international background check on you in the thirty seconds it takes to stamp your passport?