Not if they were any good at their job. Very publicly standing up against what many would see as heavy handed government and being seen to defend the rights of the little guy (who happen to be their customers and potential customers) got them an enormous amount of very positive press not just in the US but in many countries. It would have cost them a small fortune to pay for that kind of advertising.
I am not saying that it wasn't a good thing for them to do but I really doubt it was some sort of selfless act that happened over protests from PR.