The story
Borrowed from Latin ablative absolute vice versā (“the position having been reversed”), from feminine third declension noun vicis (“arrangement, order, position”) + feminine ablative singular of perfect passive participle versus, from vertō (“to turn, to reverse”).
Etymology from Wiktionary, CC BY-SA 4.0.