First, you can try to rearrange the furniture. In other words, move the sofa to another corner or room so that it doesn't directly face the toilet door. If the space is not big, you can consider placing the sofa at a 45-degree angle with the toilet door, so that it will not directly face the door. Or, you can cover part of the line of sight with decorations such as screens or cabinets, which can reduce the feeling of seeing the toilet door.
Secondly, you can also try to use more privacy curtains. In this way, even if the sofa is facing the toilet door, it can be covered with curtains to minimize the intersection of eyes. In addition, the toilet door can also be equipped with a privacy lock, which can be used more conveniently for privacy protection.
Finally, you can also use some decorations to divert your attention. For example, hanging some beautiful pictures or wall stickers, placing some green plants or flowers, etc., can divert people's attention, thus reducing the attention to the toilet door.
In short, if your sofa is facing the toilet door, it is not an unsolvable problem. As long as some clever sofa placement and some decorations can make the whole room more comfortable and protect privacy.