Municipalities have “wide discretion” to use their police power to regulate matters of public health, Justice Natalie Hudson wrote for the majority.