If you go back to a previous government, then the previous prime ministers have a role in whether to release documents of their ministry. Basically, you sequester the papers of each government when it leaves.
I went back to Prime Minister Harper a couple of times to get his consent to release documents related to the Norman affair because it had happened while he was in office, so he gave that agreement and we turned over the documents to the clerk.