This part of the rule was put in place becuase Earl Weaver used to list the next day's starting pitcher as the DH so that his options would be open when the DH spot came up in the order. This story gives all of the back ground..
How Earl Weaver changed the DH rule The J.G. Preston Experience
I don't know what the penalty would be, if any.