The Supreme Court has disqualified the president of the Generalitat de Catalunya, Quim Torra, for the crime of public disobedience.