The consent must be an act of the will of each of the contracting parties, free of coercion or grave external fear. No human power can substitute for this consent. If this freedom is lacking the marriage is invalid.
Source: Catechism of the Catholic Church (Vatican.va)