In other words, if the two floors of the villa are one household, it is ok. When there are two households on the second floor, the bathroom should not be directly arranged on the upper floor of the bedroom, living room (hall), kitchen and dining room of the lower-level households according to 5.4.4.