Paul makes note of such law when discussing those of his own time who were never bound by Old Testament law: “When Gentiles who have not the law do by nature what the law requires, they are a law to themselves, even though they do not have the law. They show that what the law requires is written on their hearts . . .” (Rom. 2:14-15a).
CCC 2072
Since they express man’s fundamental duties towards God and towards his neighbor, the Ten Commandments reveal, in their primordial content, grave obligations. They are fundamentally immutable, and they oblige always and everywhere. No one can dispense from them. The Ten Commandments are engraved by God in the human heart.