When his master saw the lad returning in such a sorry plight , he understood at once what had happened to him , and making no bones about the matter , he told Antonio what a fool he had been to allow himself to be so imposed upon by the landlord , and to let a worthless animal be palmed off on him instead of his magic donkey .