A solid feature to have.
It could work like so:
If a small ship rams a big ship, the game uses existing ramming calculations (speed / mass / whatever) to figure out (besides bouncing / pushing effect), the damage to each ship, or more clearly, who is getting the most punished from the two...