I like the idea of “exit” only via the planes exterior. If they’re noncompliant in the bathroom why would they want them back inside.
A person could have a legitimate reason, like a stroke, for not leaving the bathroom when ordered.