irakli claimed he was the legitimate king of georgia in exile , and indeed he was a scion of the famous bagratide dynasty , perhaps the oldest documented in the world , as its genealogical tree dates back two thousand years .