DLA Piper has won a lawsuit seeking to guarantee public funds for certain school services as the government attempts to cut back on education spending.