Ruling in Washington state found the policy ‘blatantly unconstitutional’ in a hearing on Thursday