No, against a litigant in person the advocate should be putting all relevant case law before the judge. Your first duty is to assist the court. You can still argue your client's case but I consider what he did to be not acting ethically. And that goes some way to explain why the judge gave him such a hard time.
(Btw there was a longer thread in Chat yesterday about this, started by me. :) )