Depends which immigration office! Unless things have changed, Jomtien (for example) don't like you going early and have sent people, myself included, away and said "come back with seven days left".
According to an article my uncle's second aunty (through marriage) heard from a Thai guy who was taught English by a Norwegian guy who was dating this Russian woman on Khao San Rd.