Did he do an amicus brief?
Do you actually know what his roll was?
When big law firms do pro bono work they assign the task to a first or second year lawyer. But they provide the assignee with help from their senior lawyers.
It is in the best interest of the law firm to provide as much assistance as they can because it is providing training to their newer lawyers, i.e. making them better lawyers.
Since Roberts was a member of the firm, it was in his best interest as well - in strengthening the firm. I suspect that that is just what Roberts provided.
It has been said that he participated in a moot court. Based on his comprehensive experience with the Court, he was very well qualified to do that. That's how law firms work. It certainly wasn't Roberts' fault that the opposing lawyer was not as well prepared.
That's how I read it.
The amicus was just a part of the hypothetical I proposed.