Cardi B’s courtroom appearances took a playful twist as her ever-changing wigs left even lawyers doing double takes.