The disqualification statute binds federal judges and justices alike, as do several ethics-in-government law provisions, including a financial disclosure requirement.
A patent specification is essentially the disclosure requirement for the agreement between the applicant and society in exchange for temporary monopoly rights.