also, this case was not about the whether it was a breach of the civil rights act which is what i contend this law violates. in fact, the civil rights act was established after this case so it couldn't possibly have factored into the decision.
The Supreme Court found, 7-2, that it was not a 14th Amendment civil rights violation to have compulsory vaccination and that police powers extended to protecting public health.
They knew arresting them wouldn't work, so instead they went with what they thought was more of legal grey area, just shut off their access to water. They're not forcing you to get vaccinated you see, you could obviously just buy bottled water!