In the 2010 Standards, it is more clear that a door swing can overlap the turning space in a room.
304.4 Door Swing. Door shall be permitted to swing into turning spaces
By the same token, door swings cannot overlap clear floor space of any fixtures or dressing rooms.
603.2.3 Door Swing. Doors shall not swing into the clear floor space or clearance required for any fixture. Doors shall be permitted to swing into the required turning space.
This is true because if a person is using a fixture like a lavatory for example, and a door swings into the clear floor space while they are using it, they will get hit.
There is an exception that in a single user restroom or dressing room, the door can swing in if there is a 30"x48" space beyond the swing of the door.
In restrooms, a 60"x 56" clear floor space is required at water closets. But if you think about it, the floor space is not exactly "clear" because there is a toilet in the way.
So the 2010 Standards understood that , allows an overlap of the clear floor space with the water closet, shelving, toilet paper dispensers, grab bars and other elements that are needed in the restroom.