A warning works only when the reader obeys it every time. A tool that ignores the repeat works even when the reader doesn't.
The full story is in Shopify Begged Its Shopping Agents Not to Add an Item Twice. Then It Changed the Tool. My Own Script Still Runs on a Warning.. A way to make checks leave proof is in The Receipt Gate.