Automatically update PDF CSS based on "Doc IP classification" filter condition selection

Hi Team,

Is it possible to automatically update PDF CSS based on "Doc IP classification" filter condition selection (added filter based on customer requirement) - Public & Confidential

To reflect in footer & copyrights page of published technical doc. Currently it has to be updated manually in PDF CSS before publishing the technical document

it should be dynamic based on dropdown filter list - "Doc IP classification" filter condition. 

For now we need to create duplicate schema and only PDF CSS needs to be changed everytime. Can we do it dynamically with custom code or configuration? 

Kindly Suggest.

Thanks,

Sowmya