I see, so the holy sword is inside Kobayashi and served as the container for all that mana she used. That was actually a really subtle way to introduce the idea.
...but of course Cool-sensei needs to ruin it with his Shota-eater fetish. Appreciate the variety of pairings and themes, but this was always the worst part about the manga.