There is a modern normative convention but there was never an official standard, and the Roman's usage actually had a lot of variation. Your teacher may have been right that some Romans actually wrote IIMM, but he certainly wasn't right to claim you were wrong.