That hat defies all logical reasoning.