Ruling derails TA plans for L train