Banned heroes can be used until they reach level 3, after which they must be dismissed on the same day.
not "until they reach level 3," but "until they reach level 2."
Now, the question.
Let's say Alamar, level 5, is imprisoned.
What happens then? Does he have to be dismissed on the same day?
And the second question: let's say the released Alamar has expert literacy;
can it be used to teach another hero spells?
P.S. I suggest amending the rules:
instead of limiting the level to 3, introduce a limit on leveling up to 2 or 1 levels.
Charity suffereth long, and is kind; charity envieth not; charity vaunteth not itself, is not puffed up,
Doth not behave itself unseemly, seeketh not her own, is not easily provoked, thinketh no evil;
Rejoiceth not in iniquity, but rejoiceth in the truth;
Beareth all things, believeth all things, hopeth all things, endureth all things. Charity never faileth...