The words "she agreed" are unreal in the sense that she has neither agreed (to marry him) nor not agreed (to marry him) at the time the statement was made. This is shown more clearly by the use of "would" in the following clause. I wasn't quite sure what you were asking; I hope this answers your question.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.