Indeed, the chemical attack is not just a crime, but a blunder, and puts Putin and Russia in an even worse spot. The action appears so militarily unnecessary and politically counterproductive that like Scott Adams, it raises doubts in my mind as to whether Assad actually ordered it. (The alternative explanations include a rogue general or a false flag carried out by the opposition.) But this is largely irrelevant: Assad is almost universally blamed, and as his stalwart defender, Putin and Russia have been deemed guilty of being accessories to and enablers of what is just as universally considered a war crime. By going all in for Assad, Putin made himself vulnerable to this. (That might provide a Machiavellian motive for Assad’s action: maybe he thought that the chemical attack would bind Putin even more closely to him.)
So by intervening in Syria, and defending Assad even in the aftermath of a widely reviled chemical attack, what has Putin gained? Yes, he had the satisfaction of showing Obama (and in his mind, the US as a whole) to be feckless, all grandiose talk and no action. He could claim to have reversed Russia’s retreat from the Middle East. He could assert that Russia is back and must be reckoned with in world affairs. He apparently experienced great personal satisfaction as a result of these accomplishments.
But viewed more soberly, these gains are more than offset by losses on the other side of the ledger. Russia is isolated, distrusted, feared, and reviled. It’s not entirely fair, but it should have been predictable.