Tap water

In public bathrooms, when the sign says something like ‘tap water not safe for drinking’ is it actually not safe to drink or do they just say that to stop homeless people or something?