Local officials open a criminal investigation over reports the dam was built illegally.