No, it's closer to the opposite. The statute says that the courts "may, only to the extent necessary" charge fees for access to PACER. I don't think there would be any legal barrier to the courts eliminating the paywall other than the courts have become dependent on the revenue stream. I suppose in that sense Congress has forced it to exist by failing to provide an alternative funding source.