Furthermore, it is a heavy burden, because it obliges to the impossible. And this is what he states: "I testify again to every man circumcising himself, that he is a debtor to do the whole law". As if to say: I say that "if you be circumcised, Christ shall profit you nothing". But in addition to this, "I testify to every man", both Jew and Gentile, circumcising himself, "that he is a debtor to do the whole law". For one who professes a religion makes himself a debtor to all that pertains to the observances of that religion. And, as Augustine says: "There has never been a religion without some ...visible sign to which those who live in that religion are obligated; as in the Christian religion the visible sign is Baptism, which all Christians are held to undergo. Furthermore, they are obligated to everything that pertains to the Christian religion." Now the sign of the Mosaic Law was circumcision. Therefore, whoever circumcised himself was put under obligation to observe and fulfill all the matters of the Law. And that is what he says: "he is a debtor to do the whole law": "Whosoever offends in one point, is become guilty of all" (Jam 2:10). No one, however, was able to keep the Law, according to Acts (15:10): "This is a yoke which neither our fathers nor we have been able to bear."
But suppose someone is circumcised; then according to the aforesaid he is obligated to observe all the matters of the Law. But this is to sin mortally. Therefore, he is obligated to sin mortally and thus he sins in either case.
I answer that on the assumption that the same conviction prevails, he is obliged to observe the matters of the Law: for example, if one is convinced that he would sin mortally unless he were circumcised, then, having become circumcised, if the same conviction remains, he would sin mortally were he not to observe the matters of the Law. The reason for this is that the conviction that something must be done is nothing else but a judgment that it would be against God's will not to do it. If this is the case, I say that unless he did what his convictions dictate, he would sin mortally, not by reason of the work done but by reason of his conscience. Likewise, if he does it, he sins, because ignorance of this kind does not excuse him, since he is ignorant of a precept. Nevertheless, he is not absolutely perplexed, but only in a qualified sense, because it is within his power to correct his erroneous conscience. And this is the way the Apostle is here testifying to everyone who circumcises himself that he is obliged to observe the ceremonies of the Law.
Source: Commentary on Galatians