My daughter was in the same situation with exact same numbers of days conflicted. Whilst still in BKK she and I returned to the immigration office at the airport and got this answer . Several days (no greater than 3) overstayed with prove of returning tickets is allowed without any consequence. That was 5 years ago that we did it. Her passport is American’s.