Just give your friend one of the grocery items to buy. Then she is a separate customer and not involved in your beer purchase. Or just have her go over and wait by the exit. Again, she is not involved in your purchase.
How utterly stupid this "rule" seems!