This particular incident may be an urban legend, but this scenario happened in an LDS church very recently
http://usnews.nbcnews.com/_news/2013/11/29/21675617-the-congregation-was-besides-themselves-mormon-bishop-dresses-as-homeless-man-to-teach-flock-a-lesson
Thanks for that link!