We only switched to selling by the litre in the early 90s (presumably for the sake of EU alignment), it was sold in Gallons until then. Expressing efficiency in MPG is just something that had "stuck" by then.
At no point was it ever illegal do display the old units. There were no martyrs; there were only idiots.