42 From what has been said it follows that it is quite unlawful to demand, to defend, or to grant unconditional freedom of thought, of speech, or writing, or of worship, as if these were so many rights given by nature to man. For, if nature had really granted them, it would be lawful to refuse obedience to God, and there would be no restraint on human liberty. It likewise follows that freedom in these things may be tolerated wherever there is just cause, but only with such moderation as will prevent its degenerating into license and excess. And, where such liberties are in use, men should employ them in doing good, and should estimate them as the Church does; for liberty is to be regarded as legitimate in so far only as it affords greater facility for doing good, but no farther.
Source: Libertas (Vatican.va)