only a small amount. you couldn't to change actual wheel size.
I understand that. Every serious e-bike brand takes care that users do not tamper with the wheel size to go beyond the speed restriction more than the allowed +10%.
An anecdote from my own experience:
My Vado 5.0 came with 51-622 tyres, which I replaced with 47-622 after a couple of months. Of course the e-bike display went crazy because of different WhC, so I have been relying on the GPS for speed and distance ridden. Near to the warranty expiration, I asked a Spec tech to set the WhC to 2216 mm for me. After he connected Turbo Studio to my Vado, he became silent and seemed to ponder over what he saw on his screen. Then he announced:
-- It is very very strange. The Wheel Circumference value seems to be
locked there at 2300 mm. I cannot change it! -- to which I brightened up and explained it to him:
-- It is a moped. A type approved moped. The Certificate of Compliance reads the type approved tyres shall be Specialized Electrak 2.0. That's why you are not allowed to adjust the wheel circumference here!
-- Oh, I see. Proper tyre air volume and all...
(He could adjust the wheel size for my Vado SL, as the latter is just a bike in Europe. Still, there are some adjustment limits).