Absolutely correct.
What people who keep saying "trust the advice of the scientists" fail to grasp is that these are political decisions more than scientific ones. If you asked scientists right now, what was the best way to limit deaths from COVID-19 to an absolute minimum, then surely the answer would be to shut all non-essential services down immediately and send everyone home. Patrol the streets with troops and keep everyone apart from those involved in food production and distribution (and one or two other essential activities) shut in. Job done.
But obviously the political answer is we cannot simply do that. So immediately you are not acting solely on scientific advice. Practical and economic considerations have to come into it. The scientists produce models to suggest the most appropriate actions given certain constraints. And the politicians consider the recommendations and the pros and cons and make a political decision as to the best overall course. You can simply say "it's the Chief Medical Officer's" recommendation.