18 U.S. Code § 201 - Bribery of public officials and witnesses
I don't believe that retirement is covered under that section; Oliver isn't trying to alter a judgment of Thomas', he's simply trying to get him to retire. That appears to be perfectly legal.