Reminds me of a house renovation I did many years ago... Had a problem with a door opening into a small bathroom, and cut it in half like this to make it a bi-fold door, saving a lot of space, and allowing me to install a full sized bath. Alternative was to let the door open into the passage...