It comes down to this the application of the 'market investor test', which looks at whether a private investor would have acted in the same way
The defence say you can't just apply that because Councils have other responsibilities. However I get the feeling these judges will still take that...