Beijing still considers it part of its territory and has vowed to use force , if necessary , to prevent the island from taking formal steps toward independence .