No need to go back so far. As I see it, a fairly easy way to set up this kind of alliance system in Europe would be to let the 1848 revolutions win in France, Kleindeutchsland, and Italy, but not the Habsburg Empire (well, apart of Italian possessions, obviously).
Ideological antagonism...