I've been in a lot of awkward restrooms. It's just a problem with water piping. Sometimes you don't have any choice but to try and fit a restroom in the worst place possible. That's why sliding doors are great. The door can just slide into the wall instead of ram into the toilet. While this is a working solution to the problem, it looks way better when the door is open. Once you close the door and people on the outside are staring at your thigh, it gets a little weird.
I'd put a little curtain over the hole so that there was a little bit of privacy, yet the idea still worked. I don't love the idea of a cloth curtain rubbing against a toilet several times a day, but it's better than my thigh sticking out of the door.