BANGKOK - A Thai court on Tuesday granted a Japanese man custody of 13 children he had fathered using Thai surrogate mothers and who are now being cared for by the Thai government.