By somebody who didn't know what they were talking about.
"MTB shoes" is a description covering a wide range of footwear, but the better XC shoes are basically identical soles and uppers to corresponding road shoes plus some tread blocks and different drilling.
i.e.;