Would this be avoided if the employee was kept on 1099 instead of switching to W-2?
OP wanted to be an employer and "make jobs" for the sake of printing job numbers, rustbelt mentality.
if they had more employees, elsewhere, it wouldn't have happened, if they actually did have the relevant counsel it wouldn't have happened. but they aren't able to or willing to afford either. lesson learned. likely the wrong lesson learned.
Manpower is large and well known example of such an agency here in the USA.
Get legal and tax advice to see if this will work in your situation.