court ruled