Judge says US govt has 'no right to rummage'