Earlier this year, a judge denounced the myth that student loans can't be erased in bankruptcy court as she excused a Navy veteran from having to pay $221,000 in education debt. Bankruptcy Judge Cecelia G. Morris' decision garnered plenty of headlines, along with speculation that the ruling might make such discharges easier.

The battle isn't over, though. A few days later, Morris' ruling was appealed by the Education Credit Management Corp., a nonprofit company that guarantees and services federal student loans for the U.S. Department of Education.

The reality is that getting student loans erased in bankruptcy, while technically possible, is so hard and expensive that few people try; even fewer succeed. Without intervention by Congress and a change of heart at the Education Department, struggling borrowers will continue to be trapped in a virtual debtor's prison: unable to pay what they owe and unable to move on with their lives.

Taxpayer money is being wasted, as well. ECMC has a long history of aggressively opposing student loan discharges, even when there's little hope of recovering any money.

Obviously, walking away from student loan debt should never be easy. But getting relief from unpayable education debt should never have become this hard.

That was the consensus of an expert group of bankruptcy judges, lawyers and scholars who studied the issue and made their recommendations public last year. The American Bankruptcy Institute's Commission on Consumer Bankruptcy suggested changes judges could make to help more borrowers, but real reform will require new laws and a more sensible, cost-effective approach by the Education Department.

Among the commission's recommendations:

Allow private student loans to be erased. Federal student loans are backed by taxpayer money, so it makes sense that they are harder to discharge than credit card debt or medical bills. But Congress extended the same status to private student loans in 2005. Unlike federal student loans, private student loans are underwritten — which means the lenders assess borrowers' ability to repay, charge interest rates that reflect the risk of default and often require co-signers to guarantee repayment. Shielding private student loans in bankruptcy court may protect lender profits, but it's hard to make the case that doing so is somehow in the taxpayers' best interest. The commission recommends Congress change the law to allow private student loans, as well as loans taken out by parents and other relatives for their children, to be more easily erased.

The seven-year standard should be restored. In 1976, Congress decided that overwhelmed borrowers could get their student loans wiped out in bankruptcy once five years had passed since the first payment was due. Debtors could get relief earlier if repayment represented an "undue hardship." In 1990, Congress lengthened the waiting period to seven years.

In 1998, Congress removed the time element entirely. Now borrowers are held to the strict standards the courts had developed under previous laws, but without the promise of eventual relief. The commission recommends returning to the seven-year standard, noting that if borrowers were still struggling at that point, their circumstances were unlikely to improve enough to repay a significant portion of their loans. Getting rid of the debt, on the other hand, could allow people to buy homes, start families, launch businesses and otherwise engage in productive activity that contributes to the tax base.

Call off the dogs. The commission decried "costly and inefficient litigation," noting that the Education Department and ECMC regularly fight discharges regardless of the costs or benefits.

Instead, the commission recommended the department adopt clearly defined rules that would prevent student loan collectors from opposing discharges for people collecting disability benefits from Social Security or Veterans Affairs, or whose incomes were less than 175% of federal poverty levels. In other cases, collectors would be required to do a cost-benefit analysis so they don't waste government money.

"That doesn't mean we're saying to the department you just ought to wipe out every student-loan debt," saaid William Houston Brown, a retired bankruptcy judge who co-chaired the commission. "Just don't spend the money litigating over things that are pointless."

E-mail: lweston@nerdwallet.com. Twitter: @lizweston.