Itemized deduction or standard deduction?

When filing married separately, according to publication 17, it’s said one uses itemized deduction, the spouse should use itemized deduction too. I asked a tax advisor, she said if both don’t agree, and file separately, then IRS will force the itemized deduction side to switch to standard deduction. Which is true? Thanks