It's not "trying to prove yourself as an attorney". It's called "defending clients", which is what we have an ethical duty to do, however necessary.
It's not your cup of tea? Don't be a criminal defense lawyer.
If she, in her best judgment, believed that was the best way to defend the case, she did her job and should be…