Forcing the quality of a tag using python script

You cannot write a value to the quality of a tag. You can enable or disable a tag. You can set the quality of a component to activate an overlay without affecting the tag.