To my mind the purpose of a bike lock is two-fold. Firstly, to deter the thief in the hope there's a less secure bike close by and secondly, so that the insurance company will cough up when it does get stolen. On the basis that if a thief wants your bike he/she/it will find a way to have it away then only the second purpose is of importance, so the cheapest lock that fits the insurance company's requirements is good enough.
Yes - this is the main point to me
If the lock is good enough that the insurance will pay up with no problem
then you go home by bus and it is New Bike Time!!
That's just the way it is
especially with ebikes - as if you get a new bike then it will be better than the old one
and especially you get a new battery as the old one will always have some of its life taken out of it
not nice - but if you have to leave your bike in a dodgy area then this is the only way to think
If the thief wants the bike - then they will find a way to get it is they have the tools
most bike racks i have seen don;t look like they would survive a good hacksaw if you had time
and I have seen one or two help down by bolts!!!