An aircraft in distress (having announced "mayday" or "pan") is not only allowed to land where the captain wants to, it has absolute priority over everything else, including the Second Coming and/or Rapture.
Bangkok Bank in Phimai is not very 'English'. Last time I asked for the immigration letter, they literally had to call the Bangkok office to have me explain it to someone on the other side who spoke English.