Lee Jae-myung says he will appeal the court's decision, which could bar him from running for president in 2027.