A U.S. judge’s ruling in Detroit’s bankruptcy case could affect the bankrupt city of San Bernardino, which is in mediation with its largest creditor, the California Public Employees’ Retirement System, over its pension obligations, Southern California Public Radio reports.