DougW's suggestion to check with the AHJ is probably the best answere. However, if I were making the call, I would probably agree with Ryan. Three points however: 1) The IBC, and I think all of the other building codes will require a 32 inch clear opening for egress doors. So, after subtracting the 10" protrusion, make sure you have a 32" clear opening. 2) I assume the protrusion is from the hinge side of the door? The switchboard will not interfere with the operation of the door handle? 3) I'm not sure what building code applies in your area, but this may be a technical violation of the provision in most buidling codes that there be a "landing" on both sides of the door. The landing needs to be the full width of the door (IBC doesn't say required width, just width) and should extend 44" from the door. The switch gear would technically be on the landing.