Remove MobileSync Backups without the Device on macOS Monterey 12.7.1
On my MacBook Air, macOS Monterey 12.7.1, a friend plugged their iPhone into into the USB to charge it and I didn't realise they'd pressed the Trust button and now over 30% of the storage on my MacBook is taken up by a single huge MobileSync backup.
I don't back up my iPhone to this computer, I use my iMac for that.
My friend has relocated and I cannot use the official Apple method to Manage the Backups by plugging in the device and telling the OS to remove them.
I am happy to go into the ~/Library/Application Support/Mobilesync folder in Terminal and delete its contents. I don't need any backups in there, I'm happy to remove them all and allow macOS to recreate what it needs — I just don't know if that method would corrupt any system databases that catalogue these backup functions.
Or, is there another Apple sanctioned correct way to do this?