%solve(sin(x)=tan(x),x) fails ("non-algebraic argument given to 'to_poly'").

But of course this is equivalent to %solve(sin(x)=sin(x)/cos(x),x), which %solve (unsurprisingly) has no problem with.