If the prime minister didn’t know before he was ambushed in Brussels, he knows now: European negotiations are not a piece of cake, writes John Rentoul