It depends a little on the jurisdiction. As I noted, I'm familiar with remediation agreement terms in various jurisdictions, some of which require an exchange of a guilty plea held in abeyance until such conditions are met. It would depend on the specifics of the case.
On June 19th, 2023. See this statement in context.