Evidence

A defendant speaks with a prosecutor authorized to discuss pleas, and the prosecutor offers a proposed agreement. The defendant makes a statement during those discussions, but no plea agreement is accepted. The prosecution later offers the statement against the defendant. What is the best general analysis?