Let's just say. Who is going to apply for a patent in the dispute between you and the company, then you can ask the court to make a ruling to confirm who is the real obligee.
If the company has applied for a patent before confirmation, it can ask China National Intellectual Property Administration to change the patent applicant after obtaining the court judgment, and take the judgment as evidence.