This story about Planck may be true but he doesn't seem to mention it in his relatively brief Scientific Autobiography. This has probably been published in English but what I have is Max Planck, Wissenschaftliche Selbstbiographie (Johann Ambrosius Barth, Leipzig, 1948).