Using a transistor (or, for that matter, any other electronic component) with a higher maximum voltage rating (or maximum current) than is needed is almost never a problem, provided its other characteristics (such as current gain, frequency response, saturation voltage, leakage currents, and so...