Cleopatra was a Macedonian Greek, descended from one of Alexander the Great's generals. Alexander had conquered Egypt about 3 centuries earlier...taking it from the Persians, who had previously conquered the final "native" XXX Dynasty...
https://en.wikipedia.org/wiki/Ptolemaic_Kingdom
And giving Egypt's foreign conqueror the title "Pharaoh", if only for domestic consumption, persisted for centuries after Cleopatra:
https://en.wikipedia.org/wiki/Roman_pharaoh
Though Rome's appointed provincial governors mostly didn't care if the locals called them "Pharaoh".
From accounts by professional ancient historians, that "fact" may mostly be PR spin and "rule of cool" myth. For instance:
https://acoup.blog/2023/05/26/collections-on-the-reign-of-cl...
And on other hand the clerks had enough time to make writing system really hard to learn so such thing would make things even better for them...