Per the regulation, the Consulate "cannot" issue a visa for foreign nationals who are not in Consulate's juridiction and who arecurrently in Thailand. All travelers need to obtain a visa before entering Thailand. *If you entered Thailand without a visa, please contact the Immigration Bureau (immigration.go.th) to explore the options in your case*