A coffin that was mistakenly classified as empty 150 years ago actually contained the remains of a prestigious mummy.