A lot of trans people would disagree. Just because someone was forced to conform to their biological sex for years doesn't mean they felt that way on the inside.
Every trans person I know, without exception, prefers to refer to their pre-transition selves by their current pronouns and would take issue with the suggestion that they were still a boy/girl before becoming a girl/boy.