This should be perfectly legalized. This is a exploit of a bug in the firmware. If the casino had a bad dealer, they wouldn't illegalize the dealer, they would fire them, or retrain them.
Making this an illegal thing puts the burden on the player, not on the casino. If allowed to 'stay' legal, then the onus is on…