The dispatcher/block linker will handle this, but if the instruction following a POPF flag doesn't otherwise trigger one of those the interrupt would be missed.