Within the world of the school, the heroines' adventures, which may end in near-disaster, but the fact do not, act to reassure the reader that the imaginary world is a safe one.
The heroines'adventures act to reassure the reader that the imaginary world is a safe one. This is within the world of the school. The heroines' adventures may end in near-disaster. The fact do not.