If a man is caught thieving from a temple and is (a) a foreigner or slave, a brand of his misfortune shall be made on his face and hands, and he shall be whipped, the number of lashes to be decided by his judges.