Judge Issues Split Ruling on Who Can Be Detained