I came across a senetence that made me rack my brain.
He crashed his bike before he had finished paying for it.
The car crash happened first, so why is the past perfect used to talk about the second action? Do we need the past perfect at all? IMO, "before" and "finished" make the chronological order absolutely clear.