Beijing spent months trying to cover up the embarrassing blunder.