you could still damage the car by feeding 24v into a 12v output port. It might blow a fuse, or burn up a circuit, or do nothing.
OP didn’t specify the car, but if this is an ICE vehicle, the lead-acid battery is not going to appreciate being fed 24V
Bingo