Job interviews are a poor way ro recruit. The interviewee is only going to tell the interviewers what they want to hear already, and the interviewers are entirely complicit. They should expect deceit because they openly encourage it.
This is a bad start to a working relationship because neither deceitfulness nor being a yes-man is a virtue.
To a boss who later says "Ah, but you said at interview that ..." the correct answer is, "Tough. Look to yourself. It was clearly what you wanted me to say, or you wouldn't have taken me on. The fact is, however ..."
Phrase it as you like, but I don't think they can touch you for that.