
Even if you are not well-versed in Japanese history, you have likely heard the names of Emperor Tenji and Emperor Tenmu. With Emperor Jomei as their father and Empress Kogyoku/Saimei (the same person) as their mother, Tenji and Tenmu are officially considered to be brothers. However, I believe that both the parent-child relationship and the sibling relationship are entirely false. I would like to present my own theory regarding who Emperor Tenji was and what his origins were.
King Mu of Baekje, sensing danger (likely an attack by Silla), was temporarily staying in Wa. In 639, taking advantage of King Mu's absence, the Silla general Gija invaded Baekje. A political upheaval occurred in which many members of the royal family—presumably including the King's younger brother, who was handling government affairs in his stead, as well as the King's primary consort and legitimate heir—were either killed or forced into exile. One of the royals who fled was Gyo-gi, a prince of the King's younger brother. There is an entry in the 'Nihon Shoki' from the first year of Empress Kogyoku's reign that mentions Gyo-gi's name. I believe Gyo-gi's mother, while not the primary consort of the younger brother, was of the royal lineage of Geumgwan Gaya, which had been annexed by Silla.
Due to the political upheaval, Gyo-gi fled to the Kingdom of Tamna along with his mother, a concubine, and servants. For Tamna, accepting exiled Baekje royalty likely carried the risk of being dragged into trouble. However, it seems Tamna treated Gyo-gi well, even having him marry a daughter of the Tamna royal family. Ultimately, Gyo-gi stayed in Tamna for less than a year. His next destination was Wa, but it appears he first went to the Oki Islands, which had trade relations with Tamna. After leaving his primary wife, the daughter of the Tamna royal family, on the Oki Islands, Gyo-gi took his mother, his concubine, and his servants and landed at Natsudomari Port in Tottori. From there, he traveled overland to the west and entered Kyushu. He likely lived for a while in Kudara-oi, where there were many naturalized citizens from Baekje.
Gyo-gi had lost his status as a Baekje royal. These events seem to have sparked a strong ambition in him to restore Baekje or to become the supreme ruler of a nation himself.