The government didn't force anyone to give AAA ratings to junk financial assets.
One can argue that public agencies created bad incentives with regulations that mandated ratings agencies' assessments, and then shielded various parties from any accountability by bailing them out, thus removing the main feedback loop of the system (ie: you mess up, you fail).
It's interesting to consider whether the ratings do more harm than good at this point. Would a better rating system emerge if we got rid of all the legislation around bond/debt rating?
If they got rid of regulations tomorrow, the first barriers to entry would keep you from starting a ratings agency anyway.