When it considers them spammy, MFA & Co or finds them cloaking. (Didn't check the link ;))
"Google has actually removed pages from their search results - not because the pages were illegal or because the webmasters were search engine spamming, but because of the page's "offensive" content."