A crown court judge thanked football manager Pep Guardiola for helping him come up with the words to sum up his reasons for retiring.