AA has it right again.
The brace doesn't make it a pistol. If the first upper on the receiver is a rifle receiver then it's a rifle for life.
When I build a new AR the first thing I do is put a pistol upper on it, put a brace on it, then take pictures and note on my serial number list that...