Judge uncovers dodgy RAF settlements and issues scathing ruling.