Taken in isolation, it's easy to see why National Express was keen to walk away from the East Coast rail franchise as quickly as possible.To be profitable, revenue would have to grow by about 10% a year, but the economic downturn has curbed this growth to 1%, meaning the franchise is operating at a loss.But National Express also runs the East Anglia franchise and the C2C line, both of which operate between London and the east of England and which have managed to trade profitably.In theory, it could use the profits from these lines to offset losses on the East Coast franchise, waiting until it returns to profitability.National Express seems pessimistic about the prospects for this happening and would rather continue operating the two lines that are still profitable.It is keen to point out that the three franchises are run by separate special purpose vehicles, set up to meet the Department for Transport's requirement that standalone legal entities operate the different lines. The East Coast line is run by NXEC Trains."National Express is not a party to, or a guarantor of, NXEC's obligations under the East Coast franchise agreement," the firm said.This did not sit well with the government which, half an hour after the appearance of National Express's trading update, released its own statement saying the firm could not expect to reap profits from some franchises while walking away from those that are not profitable.It said it may have grounds to terminate National Express's other franchises."It is simply unacceptable to reap the benefits of contracts when times are good, only to walk away from them when times become more challenging," Lord Adonis said."I note that the parent groups of previous franchise failures are no longer in the UK rail business," he added.With the government and National Express clearly in dispute over the rights and obligations of companies operating our trains, there may be legal battles ahead.Walking away from the unprofitable East Coast line may have seemed like a good idea this morning. But having raised the hackles of an unpopular government which may have found an issue where public opinion is on its side, National Express is now perhaps less confident of its belief that it can treat its different franchises in isolation.