Following the goniometric properties for $\tan$, $\tan\left(\dfrac{\pi}{3}\right) = \sqrt{3}$.
According to this formula
$$\arctan (x) = y $$ and $$\tan(y) = x$$
If we let $x = \sqrt{3}$ then isn't the only option for $y=\dfrac{\pi}{3}$ ? Or is it just the sign that is the problem in this case?