At most you will receive a slap on the wrist.
My disgraced husband committed S509 and was sentenced to 19-weeks for taking upskirt - all while behind my back. That's the crux of the CPC.
But note that sentencing has certain tariffs and at which part of the sentencing process you PG matters. My advice: don't PG at 1st mention or heavier charges will be levied.