Moral and unethical: a prosecutor purposefully crafts a poor argument against someone he knows is innocent but has awful legal representation.
Immoral and ethical: a prosecutor purposefully crafts an amazing argument against someone he knows is innocent but has awful legal representation.
I'm sure these fall apart under only minor inspection!