We had that problem at our winter place in Az when we replaced the low mini-toilet with a bigger, taller “senior’s” model. Our solution was just to reverse the door to open out into the hallway.

I guess the solution here may be better. We could keep the door closed and the cat could still access the litter box in the bathroom.

:-)

The early bird gets the worm but its the second mouse that gets the cheese.