Vendors solicitor is an agent for your friend - Revenue can and will happily chase them for any difference on what is owed and what is due.
Solicitor was a sucker not to withhold funds. I hope your friend does the decent thing, does the return and pays any balance due.
mf