Given the fact that we've known from the start of the season that they end up getting engaged, we felt like Barney winning Robin had to be wrapped in something big and surprising. And Barney has gone to such great lengths to successfully seduce so many women, it felt like anything less than spectacular would be a disservice to Robin. Also, we liked the idea of a long con. I think the final run of episodes in season four of Breaking Bad was a big influence. We wanted a moment of, "Ohhhhh, that's what's been going on." Just without anyone getting blown up or poisoned.
Read more at Vulture