I agree with BigJohn. There's nothing in 110.26 that would make this wrong. Perhaps a grade requirement is necessary to prevent this sort of installation.

The red tag would be the opinion of the AHJ and not an article within the code.

RSlater,
RSmike