Why is it "less than 9" and not "fewer than 9" when we're talking about exam marks and scores?

You seem to have unwittingly answered your own question; 90 is a mark (a percentage) so takes less. Somebody who thought of it as "I only got 90 points" could say "I don't want any fewer than that."