It's likely the case that everyone involved knew that facebook would win in court as they were following both the intent and the letter of the law (which badly needs updating). Facebook however was paying a high cost for as long as the suit was ongoing (aiui, all FB PERM processing was stalled until this was resolved), and the government was happy to get a settlement where FB paid anything.