It is certainly consistent with what St. King Louis IX ordered to be done in his kingdom.
It is written of him in is Life:
He labored especially to uproot those vices which prevent the blessing of God, and call down the Divine wrath upon a land. Hence he ordained by law that blasphemers should be branded by the public executioner, and when, one day, his pardon was asked for a nobleman who had been guilty of this crime, the holy king refused it, saying: "I would let my own lips be pierced with a red hot iron, if, by this means, I could prevent all blasphemy in my domains."