I suspect he didn’t remember what it was and took a gamble on the reporter’s qualification that Johnson had voted against it and Trump opposed it, rather than sounding uninformed. Otherwise it’s just an extraordinarily stupid thing to admit in this situation.
Is that a Trump “Tim Apple” reference? I wouldn’t have even noticed if you hadn’t called it out.