The ambient temperature of a courtroom could change the way people perceive crimes—which, in turn, could affect sentencing.