In the fact that depending on the person they will prioritize the one over the other, and may not be able to hold the two conflicting thoughts of 'my body' vs 'society's interests in our collective health' in their heads at the same time. It took me an hour or so to figure out exactly where I would draw the line, it is non-obvious to me (it is possible that I'm simply stupid but this is the kind of thing where I think snap judgments and knee jerk responses may lead to accidents).
FWIW COVID almost killed me and the vaccine came much too late, in spite of that I still had absolutely no problem getting the vaccine simply because it's a solidarity thing. Just like you're not going to go to work whilst you're contagious and so on. But I recall a lot of pointy conversations with others around that time and NL is a country where the anti-vaxx movement gained considerable ground through the way they managed to politicize (and weaponize) the skepticism around the vaccine. We have a political party here that is a very small fraction of the electorate that you could equate with the MAGA faction (or should I say republicans?) in the USA, who owe most of their votes to that era.
But if not for that vaccine I think the world would look quite a bit different today. So for collective situations I'm fine with some level of force (and to the best of my knowledge nobody actually got forced), just like we have rules for lots of other stuff. But in individual cases where the only person that is at risk of harm is the patient and absolutely nobody else the autonomy should (easily) triumph. I really don't understand what drove these medical professionals but if I had been the woman (and I'm not even a woman) I would have definitely filed a complaint with a medical ethics board about this whole thing. This should have never ever happened.