Court ruling adds $11 million to growing Badlands legal tab