The legal logic has always been worldwide, that the government surveillance of its own citizens should be illegal, because the government can use it to persecute, prosecute and oppress its own people, for political LAWFAIR; 
which is not the case of database gathering for commercial purposes essentially or public opinion sentiment.