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...