Facebook has gone out of its way this year to clarify its hate speech policy , explaining in March that it aims to be consistent with the type of content it removes.

So why has the social network appeared to have made an exception for Donald Trump, who recently posted a video saying Muslims should be barred from entering the United States? Facebook has removed statements similar to Trump’s proposal in the past, according to employees. And the decision to let Trump’s post remain public was made by the highest levels of management.

Publicly, the social network defines its policy against hate speech as “content that directly attacks people based on their race, ethnicity, national origin, religious affiliation, sexual orientation, sex, gender, or gender identity, or serious disabilities or diseases.” And posts that contain such material may be removed.

Facebook’s internal hate speech guidelines, used by its team of content moderators who decide whether to remove reported content, are more prescriptive. An excerpt of that document, obtained by Fast Company, specifically restricts “calling for violence, exclusion, or segregation for a protected category,” “degrading generalizations,” and “dismissing an entire protected category” in Facebook’s definition of hate speech.

“We remove speech that targets people on the basis of a long-standing trait that shapes their identity and ties them to a category that has been persistently discriminated against, oppressed, or exploited,” the document says, under a heading labeled “spirit of the policy.”

On Monday, Donald Trump posted a video on his Facebook wall in which he said he was “calling for a total and complete shutdown of Muslims entering the United States until our country’s representatives can figure out what the hell is going on.”

That post was flagged by users, including the activist filmmaker Michael Moore, who publicly called on his Facebook followers to file complaints.