This has been done. Tassimo has barcodes on their 'pods' that tell the system how to brew that particular pod. It lets the system have greater variety, e.g. there are latte, cappuccino, cocoa pods.
It was quickly reverse engineered on the internet.
Moral: Unless this thing has a mandatory internet connection, it's not going to stop anything.