Technically not a 'Run Out Court' which needs +2m of space either side. As such, you're meant to treat the court as if it's completely closed, any ball that leaves the walls is an instant win. Probably a health & safety thing to discourage people injuring themselves.
That said, if someone enforces this rule outside of professional rankings then they're a nerd.