At the place where I work these have special dispensers on the wall behind each toilet. (I presume; I can only speak for the men’s room toilets.) I almost never use them, but there was this one time…
With hundreds of people in the office, and the janitorial functions handled by an outside agency, from time to time the restocking of the bathrooms is delayed, and sometimes the toilet rolls aren’t replaced as soon as they need to be. So… the stalls can run out of paper from time to time.
Normally I check first, but one time I found myself in a stall without any paper on the roll, and I was already committed; I needed that paper! So I pulled a couple of the seat covers, ripped them up and folded the paper to make do.