France’s motives were transparent: to make Serbia strong enough to tie up a substantial part of the Austro-Hungarian army in case of war, so that France and its ally Russia (and Britain too, if everything went perfectly) would be free to deal with Germany alone.