The secret $5 million deal, the regulatory failures, the court case and growing community outrage