There is no need to do IR to know more about international public law in order to work in international public law. It's sufficient to have a law degree and take a specialist master's in international public law, or skip the master's altogether.
You can do a bachelor's in IR first, of course.