If China didn't care about international law it would've said it sent the balloon on purpose. Instead it found a cover story of some civilian balloon gone awry. They cared enough about international law to lie.
International law’s got nothing to do with it.
Basically Every spacefaring has made it their policy that an attack on one of their satellites would be treated as an act of war and everything would be on the table in terms of retaliation
(One could make the same argument for the U.S., but that’s not the open question at the moment.)