It's like calling someone "coach." If a guy shows up and helps guys run through warm-ups at the beginning of practice, go ahead and call him coach even if he has no idea what he's doing. If he thinks he's a coach, he can be a coach.
The term "doctor" isn't much different to me.