whilst overstaying is not as minor as some ppl think, less than 24h is not a big deal, esp. if u have a printed ticket at hand. even if you get caught by police, i doubt they would even idc you. just tell you not to miss your flight.
however if maybe u plan to get i.e. an elite visa, sometime in the near future, it's probably worth having a clear record, hence get the extension from immigration