robots.txt is more like a sign that asks certain people not to look at a bunch of other publicly visible signs.
One can't post a sign in public that tells people not to look at other publicly visible signs and expect the government to arrest or fine them for ignoring it.