a templar of royal blood , excommunicated , under the penalty of death should he ever be taken outside scotland , and guardian of the treasure to boot - obscure perhaps by design , but certainly not unimportant .