And also not to mention that while their internal justice may have been questionable (as it always is, everywhere), the Edo period had zero war for 250 years. Imagine the US never having been in a war since before the Declaration of Independence. Would that GP included that in their criticism.
To be fair to the OP I don’t think they were invoking the end of the shogunate but rather that because it had ended within memory of the defeat to the allies, these vestiges were relevant and were (and continue) to be in the conscience of Japanese society.