For citizens of Bangladesh, India, Pakistan, Sri Lanka Nepal, Syria, Iraq, Iran, Lebanon, Sudan, Algeria, Libya, Yemen, Egypt, Palestinian State, Nigeria, Afghanistan, China, and North Korea, the Thai visa applicant must first be granted status of residence in Japan.
I wonder if this only applies to people applying to the Royal Thai Consulate in Osaka.