So, it seems to me that the AI blatantly ignores ship collision if it wants to get somewhere. I discovered how self-harming this could be when I was running around in a modded Atlas (I called it the Atlas 2-class FreighterFighter). I had ramped up speed and mass and a hell of a lot of other things, but the important one is mass. I was tearing through a large group of Hegemony ships by ramming them to death at a speed of 400 with a mass of 400000, and they were now trying to flee. For fun, I decided to block an Enforcer from fleeing by sitting in its way and not firing, as I didn't want to kill it (it was nearly dead, and had no front armor left).
Okay, I need to cut to the chase, here. The enforcer proceeded to run into my ship to try retreat, and in doing do killed itself on my shields. When I tested this with dozens of other ships, they all did the same thing, like I wasn't there at all. The AI really should account for how lethal a ram will be, and maybe even use it to their advantage. It is not at all far-fetched to say that they could judge your mass by your size, so it wouldn't be bad to factor in your mass when they decide the consequences of ramming.