The territory is held together by colonial violence. Land theft, border policing etc. A socialist state that isn't created through the fight for the right to secede is going to have to maintain this colonial system through force, entirely negating a socialist character.