No matter what the regulations say, common sense says that those receptacles shouldn't be there.

Whoever installed the heater should have removed the receptacles and vice versa.

Looks like it would be easy to move those receptacles higher up on the wall and keep them away from the heat.