Agreed - IP2X limits the size of holes in the enclosure; IPXXB limits access to hazardous parts by (a finger in this case) - which could be by say internal barriers or distance away from the hole, rather than necessarily making a requirement on the outer enclosure itself. An enclosure with big holes in it, but all internal parts insulated might fail IP2X but pass IPXXB.
Agreed - IP2X limits the size of holes in the enclosure; IPXXB limits access to hazardous parts by (a finger in this case) - which could be by say internal barriers or distance away from the hole, rather than necessarily making a requirement on the outer enclosure itself. An enclosure with big holes in it, but all internal parts insulated might fail IP2X but pass IPXXB.