Published blackjack odds depend on "dumb" reshuffles. If the house is "smartly" reshuffling the deck to reduce house payouts, then the published odds do not match the real odds, which is illegal.
Imagining that the physical deck is a virtual deck does not make it so. In an RNG-populated/virtual deck, there is a small but still real chance that, for instance, 20 aces could be dealt in a row, which is why game programmers use techniques like shuffle bags to prevent that from happening. An "infinite" physical deck, that was actually "infinite", would suffer from the same problem, and would need a physical solution, which would affect the odds which the casino is legally obligated to publish and adhere to.
Exactly, so, if counting cards if forbidden (I'm not arguing if that is right or not), then having that statistical foundation isn't useful. As a different comment suggested, reshuffling at a fixed point (say, after one third of the cards have been dealt) should solve the problem in practice, also preventing the house to use counting in a meaningful way.
But a dishonest casino could do the same card counting that players can do, and reshuffle when the count favours the players.
Very loudly:
"Aha! You should have shuffled the cards! Messed up the count didn't you!"
Sunglasses on and just walk away.