The issue is not so much the class of the amp, it's the power reserve of the amp when it's running loud and is hit with a transient.
IIRC…
- Class AB tend to be heavy and big because they're not as efficient so they have beefy power-supplies. The power-supply has big capacitors, that, when charged, are just waiting for a "chug" or a hard-hit clean chord.
- Class D are much more efficient so they can usually get away without that beefy power-supply. The problem then becomes the amp has no reserve when it's being pushed hard so the dynamics are lost, so then they scale up the size of the amp. From what I remember, the class D amp needs to be rated about 4x the wattage output of a class AB to stay clean.
- Tube amps, whether they're guitar heads or power-amps for PA, break up differently than solid-state, whether they're Class AB or D. Tubes will gradually slip into clipping and their harmonic order is more pleasant to hear. Solid state will usually clip instantly when overloaded, like a fuzz pedal, which is a nasty sound especially when it comes from a amp and cabinet that we expect to be crystal clear because it's supposed to be reproducing the sound of a modeler. Again, for solid-state we'll need that power reserve, whether it's in the power-supply or in its wattage rating.
- I'm very suspicious of pedalboard-mounted class D amps because they don't have the reserves I want to recreate the sound cleanly. I've had my EV-PXM12 cabs keeping up with a FOH system that was peaking at 110dB. That is stupidly FREAKIN' loud and the EVs are rated for peaks of 129dB so they have some reserves. I don't think class D amps sized for pedal boards will do that simply because of the way power demands go up as the volume increases.
We have to be aware of the games the manufacturers play with ratings and how much we'll need, and a little dose of skepticism is probably good too for those times when you find yourself needing to go 1 more.
Just my $0.02.