If you're thinking of Legendary Resistance, that isn't a lair action. In fact it isn't an action at all. I don't think anyone is proposing to let confusion bypass LR.I would say lair action works, especially since one of the possible lair actions of many boss mobs is to shrug of a spell in chosing to pass a botched save (which is intended imho for just that kind of situation).