Kant complicated things by insisting that there could be a synthetic a priori, and Kant would have considered the truths of plane geometry to be synthetic a priori.
I think Kant was correct in adding that category as I never felt comfortable placing mathematics next to standard a prior statements.