IP code is just a way to test device, reality is other.
I took part in such tests in the past (not for electronic but still), I can even tell that some results might be subjective, like the quantity of dust inside that is not impacting the good functioning of the device. Usually a simple functionali...