Ultimately he's just doing the job he was hired to do.So is a hit man. Doing something obviously inappropriate doesn't become OK just because there is a pay cheque attached to the instruction.
There is always going to be an awkward area for some lawyers, because in an adversarial legal system you have to allow anyone accused of anything to have robust representation to defend themselves in court, which means some lawyers are always going to act for bad people some of the time. I have no problem with a lawyer defending any client in court to the best of their ability; this goes right to the heart of presumption of guilt/innocence.
But this action isn't defending someone who hasn't yet been convicted of anything against a criminal charge that must be answered in court. This appears to be actively going after someone who has done nothing wrong, by exploiting the technical flaws of the relevant legal system in a way that no ethical lawyer should ever do. If half the Internet can see that, then either the lawyer knows something that none of us do, or the lawyer is in trouble on several levels.