The Judge who sentenced them to death must not have understood what treason was, he must have somehow been confused about it's meaning and mistakenly accused them of it.
Occam's razor might actually apply and the judge knew what he was talking about and you are intentionally being dishonest.