The visit to her home sparked a backlash, including from former Conservative prime ministers Boris Johnson and Liz Truss.