I understand that we only get a free visa on entry for 30 days on entry, but can I buy my return ticket for 40 days and whilst I'm in Thailand go to the immigration office for an extension so I don't have to pay for overstay. Will this be a problem boarding the flight from the UK or getting into Thailand knowing that it's only allowed 30 days.