Reparation from colonialism is a topic that comes up from time to time. Poland demanded €1.3t from Germany for WWII reparations as recently as 2022. Although the issue was settled by the Potsdam Agreement and later the Treaty on the Final Settlement With Respect to Germany, Poland claims that they don't count since Poland was being controlled by the Soviets.
Similarly in 1965 the Treaty on Basic Relations Between Japan and the Republic of Korea was signed between Japan and South Korea. South Korea gave up further rights for reimbursement in that agreement but some Koreans claim that the treaty should be void since it was a unilateral decision by military dictator Park Chung Hee, whose party passed relevant bill during a boycott by the opposition and suppressed nationwide dissent.
While I do sympathize with the sentiment, in both cases the treaties were signed by their respective leaders. Are claims that the decisions were undemocratic and thus invalid well-received in other parts of the world? Can such arguments hold up in institutions such as the ICJ?