instruments as per piping class

Hi

Is it a standard requirement that the instruments are chosen based on the piping class (to work under all operating conditions of that particular class)? if yes can you please refer the standard. if not based on what they re chosen ?

welcome more details if possible.

Thank you