A larger engine can be put on a 172 through a Supplemental Type Certificate and remain certified. My 172 has a number of STC's for upgraded equipment. While I still have the original engine I have a STC for the ECI cylinders installed during the last overhaul.
Nice looking kitfox by the way.