The vote, held in the backdrop of a martial law bid by ex-President Yoon Suk-yeol, could affect Seoul's foreign policy.