Star Trek: Strange New Worlds and Crusader Kings 3. So it's either a time travel episode or something like those "planet closely resembling a period of earth history" episodes in TOS. Considering there are no records of TomΓ s the wise, king of Ireland and Aquitaine, probably the latter.