They actually do. Happened to a customer of mine with an older AMC. He basically did the same as the OP is asking about. Put a direct bolt in engine that had more displacement then what was ever offered in that car. Tech checked the casting that showed the displacement and failed.
Like Charlie posted, at a minimum grind off the displacement number.