The Solicitor General can essentially argue in any SCOTUS case he wants or SCOTUS can invite him to (which is treated as a command, he never declines).
While the plaintiff in this case was a troll this isn't a directly troll related case. It applies broadly to all patent holders.