> the judge calls the attorneys into chambers and lays into them, sometimes loud enough for half the courthouse to hear, for wasting everyone’s time on such a stupid case,
You're basically writing fan fiction here. There's no evidence this would have been the case, and frankly I rather doubt it. There's nothing to suggest the judge would have reacted this way, nor that Swartz should have anticipated that he would.