I'm writing a little flashback that explains how a character came to a decision. At the end of the flashback, I have a sentence that explains the father agreed to the character's decision, but the event of the father agreeing happens at a later time after the character had already made the decision.

I'm not sure what verb tense/verb phrasing I should use for this particular sentence.

Here's a sample, followed by the particular sentence:

She'd thought it sounded pretty, so she'd always remembered it.

The sentence in particular:

And then, when the time had come, her father had agreed it sounded lovely.

Or should the sentence be:

...when the time came, her father had agreed.

I'm confusing myself. What verb phrasing is correct?