I can't say as I haven't really played a Wizard myself, but in the OG games, you could write spells of any level even if they weren't available to you yet.
You could have a level 9 spell in your spellbook but would be unable to memorize it to actually use it.