The legal owner of the domain is the registrant, while the administrative contact holds the technical authority to approve contracts and validate changes.
If you transfer the contacts first, you give the technical control to the buyer while you remain the legal owner of the domain. In case of a delay on their part or a configuration error, you will assume the legal responsibility for the site without having the necessary access to intervene.
Furthermore, changing the registrant requires a double email validation. If you abandon your administrator role prematurely, you will no longer receive follow‑up notifications and will lose the ability to confirm or abort the operation in case of disagreement.