Canada's Environment Minister warned Wednesday that oil companies who withheld data on emissions would be violating federal law.