You're right, that part is reviewable. (I was only thinking about the pardons).
I don't get it - how does the court get to decide what is a controlled substance and what is not? Shouldn't that be up to some government agency?
It’s up to Congress to make the law. Congress frequently assigns some of that power to agencies, and the courts get to review whether the agencies are following any applicable laws.
It has generally been up the the DEA. When it came time to schedule MDMA it was actually challenged in court by psychologists and psychiatrists along with scientists. The judge recommended a lower scheduling. The DEA said "fuck you" to the judge, petitioners, and the American people and made it schedule 1