Tbh this lawyer was doing their job, even if the client found it distasteful and disrespectful. Every time I've been to court, whether as plaintiff or defendant, I was told to wear a black or gray suit, white collared shirt with at most the first button unbuttened, and sensible flats. It's strictly based on the first impression of the majority of societally unconscious perception.
It doesn't make it right, and delivery by a lawyer before trial leaves much to be desired, but they're usually billing in minute-increment blocks.