A civil engineer empowered to practice civil engineering in this state, and a petroleum engineer registered in this state, under provisions of Chapter 7 (commencing with Section 6700) of Division 3 of this code insofar as they practice civil engineering in its various branches or petroleum engineering, respectively, are exempt from registration under the provisions of this chapter.