(How should we act, if parents or other authorities require of us anything contrary to the faith or to the law of God?)
In that case we should say to them, as the Apostles said to the rulers of the Jews: “Whether it is right in the sight of God to listen to you rather than to God, judge” (Act 4:19); “We must obey God rather than men” (Act 5:29; see Q506, Q562). Honor has an order, and the order has a summit: no earthly authority, parental, civil, or even ecclesiastical, may command what God forbids or forbid what God commands.
We should be ready, for the sake of the faith and the law of God, to endure whatever consequences may follow. The pattern is ancient: the three youths served Nebuchadnezzar faithfully in all things yet answered his idol with “we will not serve your gods” (Dan 3:18); Daniel honored King Darius, yet prayed on as before when prayer was outlawed (Dan 6:10); and the martyrs paid taxes and prayed for the emperors whose altars they refused, disobedience at a single point, wrapped in honor at every other.