The judge said the 55-year-old structure is sorely in need of repair.
Site is one of several properties where North County Transit District is pursuing mixed-use developments.