He hadn't 'bargained on' how his new position in the company would change the way people treated him. [=he was surprised by how his new position changed the way people treated him]
You're allowed to go to the football game tonight, but I expect you to 'keep your side of the bargain' [=do what you agreed to do] and clean your room.
They've agreed to turn the land over to the state, and the state, as its part of the 'bargain', has agreed to keep it undeveloped.
(..) Slowly, intimately, in every way he knows you fear. And then he'll wake just long enough to see his good work and when he screams, I'll split his skull. This is my bargain, you mewling quim. You're a monster. Oh, no. You brought the monster. So, Banner. That's your play. (..)2012 The Avengers
(..) And what will you do if I vow to spare him? Not let you out. No, but I like this. Your world in the balance, and you bargain for one man. Regimes fall every day. I tend not to weep over that. I'm Russian. Or I was. And what are you now? (..)2012 The Avengers