They really don't want to send you a new camera. The dangerous thing with code controlling hardware directly, is absent safe guards you can easily exceed the mechanical limits of the device.
This is why seriously overclocking a CPU will definitely void the warranty, but at the same time CPUs are often marketed based on how well they handle overclocking.