Baotism is certainly taken as a commitment.
Not infant baptism which simply includes the infant in membership in the Church which is only gained through baptism in Christ.
... or regardless of whether they even set foot in a church. Only Christians were subject to the Inquisition, but it was oft3n the case that a housekeeper or whatnot would come forward to claim that she secretly baptized some prominent member of the local Jewish community, which would put him under the authority of the Inquisition and guilty of the "sin" of "Judaizing."
Has nothing to do with infant baptism.