That is true. However, I dont think littering is the general reason behind the law, its an attempt to solve drunken anti-social behaviour in general, which I think is misguided and unnecessarily restricts peoples freedom.
I hold true to the unpopular notion that government should stay the fuck out unless its to prevent fundamental rights from being infringed.