PH is ample US/PH propaganda that PRC is not in compliance with UNCLOS when PRC is in compliance, just pushing the extremes of lawfare technicality - the best type of legal technicality.
PH vs PCR ruling is not valid international law (as in at UN/CLOS). It's propaganda written on nice rented PCA stationary - a bunch of US/PH aligned experts ad hoc legal interpretation against PRC that is NOT formally accepted by UN, hence not accepted by UNCLOS/ICJ/ITLOS, much less because PRC not subject to optional arbituation clause no matter how much US propaganda screams she is. Don't get me wrong, it's very sensible legal position, but it's not formally accepted, and has the legal weight of me writing, the opposite position on toilet paper. Until there is formal UNCLOS/ITLOS ruling against PRC (like they did against UK hence US/Diego Garcia for Chagos), PRC is legally compliant with UNCLOS.
AKA PH vs PRC is the US led "rule-based-order" interpretation of UNCLOS (which we all know US hasn't ratified) which of course PRC is not obliged to follow, not actual UN "international law" that PRC has at least in propaganda accept as valid arbiter (if only because currently, UN reality has a PRC bias). In case of TW where PRC can, under international law, resolve TW kinetically by resuming legally ongoing civil war. Ultimately, of course, Beijing is not bound by (and should be not bound by) by non-UN rule-based / LIOrder, and even if she were, her behaviour would be acceptable considering US response to Chagos ruling, which let's be honest, one set of rules of you/me is the reasons why the rules-based order is breaking.
But circling back to TW, yes, PRC wouldn't give a care about any international law when it comes to "reunification", hence the dynamic between TW/PRC is a pure power game. It just so happens international law is on PRC side in TW scenarios.