Mi6 requested the funds, and was given the green light to tap into the treasury for the operation - with Vesper being appointed to the role (with help from Quantum, probably) of guarding the Treasury's money from being frivolously spent by Mi6 in a way that would directly finance terrorism. Bond could not bypass her by going directly to M for the money, because the money belonged to the Treasury, NOT to Mi6.