A South Korean court has ordered the release of impeached President Yoon Suk Yeol from jail, according to news reports.