Any public authority or official who, outside of the cases permitted by law and without legal cause for a crime, commits any of the acts described in the two previous articles, will be punished with the penalty provided for in them respectively, in its upper half, and absolute disqualification of six to twelve years.