Ah, make a bit more sense. If I'm reading you right that you mean 'How much is for operational reasons, how much for safety reasons, and how big a say do the unions get?'
As a general rule, new rolling stock doesn't get legacy protection (Refurbished stock does to a point, depending on what was retouched).
I don't know the ins and outs, but I believe that there's a series of tests applied to a sample of a class of new units, under test conditions for things like interaction with traction current supply and signalling systems like TPWS.
Then I'm pretty sure each individual unit has to demonstrate it meets certain criteria before it's accepted into service.
The list of things that must be approved, and to what level/standard is probably on the RSSB website somewhere. Someone more knowledgeable than me will be able to say which regulations fall into your categories. This is as good a place to start as any:
https://www.rssb.co.uk/en/RSSB-and-the-rail-industry/Products-and-Services/Rolling-stock
It's worth pointing out that some things will overlap - i.e. clearance to platforms is both Operational and Safety, and the unions may object to some things on safety grounds, and others on operational grounds.