@Damaris *****
you are correct and the thai consulate in Penang does have a warning that they can deny you a tourist visa if you have an overstay stamp in your passport..
You asked if it would cause them any problems if they wanted to come back to thailand, not buy a visa from the thai consulate in Penang. Sorry.