That would be the mortal interpretation of some in the ruling class who would take it upon themselves to decode God's word.
If one believes Jesus is the Messiah, then Mary's lineage fulfills prophecy.
If one believes Jesus is the Messiah, then you can throw away the rest of the Bible because you can change the meaning of words to make them mean anything.
Jesus was not in the royal lineage according to the generally accepted meanings of the words in the Bible.