On the flip side, be careful when claiming skills on your resume. You may just encounter an interviewer who wrote the book on that topic who decides to ask you a few questions about it...
At least you caught a lie, which at least to me is a red flag that the interview is over and I know to look for excuses to downgrade the score I give to HR, thus ensuring no offer is made no matter how many people we need to hire.