That's happened to me too...
Imagine a situation: a hero without Wisdom finds an empty Pandora's box. Then they max out Wisdom and use a Dimension Door scroll, claiming that there was a level 5 spell in there—and how do you prove what was actually there or wasn't...
that this scroll can be used if there is 100% certainty that you received this particular spell from the Pandora's box. In most cases, it's unclear without Wisdom or with basic Wisdom. But nevertheless, such cases are possible.
But I'm starting to realize myself that I was a bit too hasty, as this will create many problems, confusion, etc. So let it stay as it is for now. But if anything, we can return to this issue later :)