This is absolutely terrible and irresponsible advice. "Declare bankruptcy immediately and protect your assets" is the worst possible way to handle the situation, since:
1. Losing the court case does exactly what you don't want to happen here;
2. On top of that, you get to go bankrupt! Ruin!