high court ruled