No, that's the opposite of what happened here.
BECAUSE the judge isn't an expert, therefore he can't somehow override the procedure for approving a drug.
The FDA didn't follow safety rules for approving the drug, by their own admission, and so by law the judge has to call them out on that, no matter if he personally thinks the drug is safe or not.
Maybe the rules are bad. Maybe Congress needs to reform the law. But that's not up to the judge.