Iconic Catalan separatist leader Quim Torra has had a decision to ban him from holding public office upheld by Spain's…