Former Secretary of State John Kerry got called out this week on Capitol Hill over whether he was qualified enough to testify on climate change — with one Kentucky congressman condemning his Yale degree as a “pseudo-science.”

“How do you get a bachelor of arts in a science?” asked Rep. Thomas Massie, of Kentucky’s northern 4th District, during a House Oversight and Reform Committee hearing on Tuesday.

“Well, it’s [a] liberal arts education and degree — it’s a bachelor,” Kerry said.

“OK, so it’s not really science,” replied Massied. “So, I think it’s somewhat appropriate that somebody with a pseudoscience degree is here pushing pseudoscience in front of our committee today.”

Kerry fired back, “Are you serious? I mean, this is really … happening here?”

To which Massie said: “You know what? It is serious. You’re calling the president’s cabinet a kangaroo court, is that serious?”

“I’m not calling his cabinet a kangaroo court,” Kerry said. “I’m calling this committee he’s putting together a kangaroo committee.”

Massie asked, “Are you saying he doesn’t have educated adults there now?”

“I don’t know who it has yet,” Kerry said, “because it’s secret.”

The public back-and-forth went viral on Wednesday, with some calling it “the dumbest line of questioning in years” and possibly even all of politics. At one point, Massie began grilling Kerry on Earth’s carbon dioxide levels.

“Are you aware that since mammals have walked the planet, the average [atmospheric carbon dioxide] has been over 1,000 parts per million?” Massie asked.

“Yeah, but we weren’t walking the planet,” Kerry said. “We now know that definitively, at no point during at least the past 800,000 years, has atmospheric CO2 been as high as it is today.”

Massie shot back, “The reason you chose 800,000 years ago is because for 200 million years before that, it was greater than it is today.”

“Yeah, but there weren’t human beings,” replied Kerry. “It was a different world, folks. We didn’t have 7 billion people living here.”

Massie continued, “So — how’d it get to 2,000 parts per million if we humans weren’t here? … Did geology stop when we got on the planet?”

“Mr. Chairman, this is just not a serious conversation,” Kerry said.

With Post Wires