short version
The PC came in when the banks were told by a certain female attorney general that if they didn't make loans to the correct PC categories they would be investigated. Were the banks stupid yes. Were they encouraged to be stupid; ask Fannie and Freddie.