User blog comment:AYET/Additional stuffs about chapter 711/@comment-6122161-20130613155248

I have a hard time believing that Law is that stupid. You made a good point about him setting the exchange location deep within enemy territory where there's no easy escape it seems. So I think there's a reason for it. In fact, I think everything that's happened so far is according to his plan, weather the Straw hats know it or not. (I think they’re oblivious to his plan, to tell you the truth)

Now think about this, he was suspicious when he noticed that no one in Dressrosa was panicking but, instead of investigating why, he proceeded with plan. Also, when he saw the Marines ship on Green Bit he realized that that could have been the result of telling Smoker he was going there. But instead of aborting the mission he proceeded with the plan, knowing that Marines were there.

Law used to be a part of Doflamingo's crew and was even considered like a little brother to him. That to me means that Law knows Doflamingo well enough to anticipate that he would try to trick him. Plus it seems that Law has a kind of grudge against Doflamingo, and probably wants to get revenge somehow, so I doubt Law would slip up at such a crucial moment.