Just 6.5% of German electricity was generated through coal last year.
By contrast Poland was ~90% for years and only just slipped below 50%.
If I had to guess why Poland never got any criticism for that while Germany was routinely pilloried by certain flavors of propaganda I would hypothesize that it was because Poland weren't humiliating the nuclear industry by swapping them with solar panels and wind turbines at 1/5th the price.
You forgot 14.8% electricity was made by brown coal.
https://en.wikipedia.org/wiki/Lignite