He was told not to consume or have even unopened alcohol in a public place