Affecting bots is more complex, since they are frequently converted between item and entity form without being placed down or deconstructed.
One option would be to add a "converter" building, which gives bots their correct stats (by exchanging the item to one of the specific quality), but "unconverted" bots would still have the normal stats even at higher qualities.
It should also be possible to periodically go through all roboports and "fix" the stats for robots in them, but there's a tradeoff between performance impact and issues with high load networks where bots typically don't spend long inside roboports between assignments.
What do you think about these solutions?