I can categorically say I am speaking from experience here. I personally know someone who obtained a tourist visa for this very reason and was interviewed for 4 hours at suvarnabhumi airport as the IO wasn’t happy with the overstay stamps in his passport. A visa does not guarantee entry is all I’m saying and if you beg to differ that is fine