Court's issuance of warrant marks first time South Korean authorities have sought to detain a sitting president.