When the cops haul a man in for "standing funny", anything you do to oppose their will is painting a target on your back.
The first doctor got away with it because the other doctors went along with the officers' demands. If everyone had refused they would have been ethically in the right, but you can be assured the authorities would have reacted far less favorably.
They went to a different hospital. That's not just turning to the next guy. The doctor at the first hospital explicitly refused on ethical grounds and did not get any unfavorable repercussions from the authorities, which completely refutes your point.
The first doctor got away with it because the other doctors went along with the officers' demands. If everyone had refused they would have been ethically in the right, but you can be assured the authorities would have reacted far less favorably.