Synced files on OneDrive if a user’s permission got removed from SharePoint

What will happen inside the synced OneDrive files if the user’s permission got removed from SharePoint.

  1. let say user A have contribute permission on siteA, and he synced files from the SharePoint site into his overdrive desktop app.

  2. and he chose to always show the files on his desktop.

  3. then UserA’s permission got removed from the SharePoint site >> so what will happen to the files inside the OneDrive app? will the user be able to view those files? or those files will also get removed from his OneDrive app, since he no longer can view them inside SharePoint?