Tribal dispute prompts judge to ban casino guns