Obama-appointed judge rules illegal migrants can carry guns legally