Relax - you'll stay airside. In the extremely unlikely event that you get a major (multi-day) delay and need to go airside the airline will take care of arrangements. I seem to recall a year ago an EK a/c going us in BKK and some pax needed visa to enter Thailand. The airline arranged formalities so they could enter the country and stay at a nearby hotel.