Piping class is normally determined based on the service conditions - pressure, temperature and commodity inside the pipeline. For the three phase separator, you have phase change - from liquid phase to vapor phase.
Normally, chemical engineer decides the service conditions. Material engineer or mechanical engineer decides the piping class. You need consulting with them.