Yeah definitely would be a working space violation NEC 110.26, as far as being in a bathroom that ban in 240.24(E) was only dwelling unit bathrooms, until recently when it was expanded, while the working space requirement makes sense,
I am not so sure the addition of the commercial bathroom (with no shower) improves safety.
I there is a chain convenience stores that ad all their electrical panels in the bathrooms as there was ample working space, did not tend to get cluttered, and the room was normally locked from the public.
Now they put the panels in the store and roll a fridge case in front of them LOL
Don't know about the US but from my local perspective I can't really see anything explicitly non-compliant. Safe zones are only required for showers and baths, not sinks or toilets.
I am sure across the pond BS 7671: 132.12 and IEC 60364-5-52 would say something that install also? Can you have a 'consumer unit' (aka load-center) in a lavatory?