When Ramses II's mummy needed to be sent to France for study in 1974, he had to be given a passport because, under Egyptian law, no living or deceased person could leave the country without proper documentation.
This wasn't done just as a publicity stunt but because the Egyptian government law which was in place to protect against mummies being taken out of the country without Egypt having a legal claim on them.
Egyptian passports didn't quite look like that in the 1970's, though, because they were hand-written until the late 1990's. But that's how Ramses II's passport would look like if it was necessary for it to be renewed today.