Yeah, I thought as much.
I've now emailed the client detailing what we can and can't do. His choice is either the auto version (your code) or a manual version depending on whether it's set in the database to show or not. It's his call.
I won't keep saying thank you, but, thank you.