Effectiveness of D-branes in the description of near-extremal black holes