In olden days, say during the reign of the Knights, if a criminal managed to get into certain churches, he would enjoy full protection and no action would be taken against him as long as the criminal remained in that church.
Nowadays, it seems one can find similar refuge in Castille.