I’ve been prosecuted by the beer pole on the ASI on several occasions, not by CASA though! And not in Australia, nor in an Australian registered aircraft.
With regards to CASA prosecuting pilots for breaches of the regs, maybe they need to educate their inspectors in how to gather evidence relating to a supposed breach prior to getting their legal department and their investigators involved, some of whom are ex cops based on a recent senate estimates meeting with CASA that is available publicly, just do a YouTube search and you will find.