Both the Trump and Biden administrations have publicly claimed credit for pushing the agreement over the line.