Castilian law criminalized physical insults to holy objects as blasphemy by non-Christians

Evidence

Not only is verbal insult prohibited but also spitting on crosses, altars, or images of the saints, or striking such a holy object with hand, foot, or other object, or throwing stones at churches. “Whoever acts against this prohibition we will punish him in his body and in his possessions according to what we judge he merits for the crime that he committed.” Alfonso gives the following justification for this prohibition: If the Moors, in all the places where they have power over the Christians, prohibit them from insulting Muhammad and from saying anything against his doctrine, and for this offense they beat them and hurt them in many ways and decapitate them, how much more appropriate it is that we prohibit them (and others who do not believe in our faith) from daring to criticize or insult our faith. — John V. Tolan, Saracens, 986