Casinos can forbid all they want, but the teeth in the deal is that lawmakers back up the Casinos' rights to set the rules and force you to play by them.
To be fair, the lawmakers aren't really necessary. It only avoids the friction of forcing every gambler to sign a legally-binding contract before playing.