A Seoul court began on Thursday to review the legality of impeached President Yoon Suk Yeol's detention at the request of his lawyers after investigators took him into custody over his short-lived imposition of martial law, judicial sources said.