Last month, two black men who went to a Starbucks in Philadelphia and did not buy anything were denied use of the restroom and asked to leave.

Then an employee called the police and the men were arrested, prompting protests, boycotts and accusations of racism.

Now, Starbucks has changed its policy.

On Saturday the company announced that “any customer is welcome to use Starbucks spaces, including our restrooms, cafes and patios, regardless of whether they make a purchase.”

It added that employees should follow established procedures for “addressing disruptive behaviors,” and call 911 in the case of “immediate danger or threat” to employees or customers.