“Thus it is that in war the victorious strategist only seeks battle after the victory has been won, whereas he who is destined to defeat first fights and afterwards looks for victory.”

That quote, from Sun Tzu’s ancient Chinese treatise “The Art of War,” perfectly captures President Obama’s strategic victory over Tea Party members of Congress on the government shutdown and the debt ceiling debate. It also explains his immediate pivot to another topic that Tea Partyers hate and over which their obstinacy is likely to get the party hammered again: comprehensive immigration reform.

This is a brilliant tactical move on the president’s part. And Republicans know it.

As the G.O.P. was nearing its moment of collapse on the shutdown and debt ceiling, Representative Raúl Labrador, Republican of Idaho, said, “I think it’d be crazy for the House Republican leadership to enter into negotiations with him on immigration.” He continued: “And I’m a proponent of immigration reform. So I think what he’s done over the last two and a half weeks — he’s trying to destroy the Republican Party. And I think that anything we do right now with this president on immigration will be with that same goal in mind: which is to try to destroy the Republican Party and not to get good policies.”