UN chief welcomes court rebuke of Myanmar