The credit card company can challenge in court that this action was pre-planned (aka fraudulent) - at which point the bankruptcy may be be denied by the court, AND criminal charges possible. Judges, courts, credit card companies aren't stupid - this is exactly the type of thing they LOOK for in bankruptcies.