It is the capital of the territorial collectivity of Corsica and the prefecture of the department of Corse-du-Sud . It is the capital and largest city of the region of Corsica and the prefecture of the department of Corse-du-Sud .