President Yoon Suk-yeol will abide by a South Korean court's ruling if it removes the impeached leader over his short-lived martial law decree, his lawyer says.