Din Rail grounding maybe to code but that doesn’t mean that it is wise! There is huge variability in the quality of the din rail grounding systems I’ve seen. Combine that with the way some builders splatter those grounding blocks all over the panel and you end up defeating the concept of a star ground. Being code approved and inspiring confidence are two different things.
As for the comment on DC supplies I’m not sure if we are on the same page there.