to see that someone has fallen or is lying on the floor. Without that opening, it could be much more difficult to recognize an emergency quickly, especially if the person inside is unable to respond.
The open area can also make it easier for someone to provide assistance when a stall needs to be accessed during an emergency. Depending on the layout and circumstances, emergency responders or facility staff may have more options for reaching someone who needs help.
This does not mean the gap alone makes a restroom completely