Auto-translated
Mages have a library that reveals one spell per level – why do you doubt that adding these two earth-based spells for the Elves is feasible through building construction?
Maybe I'm overcomplicating things. But at first glance, there seem to be several problems that cannot be avoided. However... It would be possible to create a building that would give spells not to the guild, but directly to the spellbook of heroes entering the city. But that would be a bit awkward.