Case 1: A person leaves to use the toilet and returns once finished. This falls within the expressed necessity exception.
Case 2: A person leaves purely to wander through a market. This is an unexcused exit, not the bodily-necessity exception.
The school disagreement about duration applies to the second category.