He was not president at that time. Also, this case doesn’t have anything to do with the BS case.
This is the Jack Smith case in a nutshell. Trump had the right to the documents.