If the Labour leader intended to rile the Conservatives, and left-wingers in his own party, he succeeded on both fronts.