The penalty is a multiple, not a fee
Municipalities usually charge a multiple of the original permit fee to legalise work that started without one, and the multiplier is the smallest part of the cost. Opening finished walls so an inspector can see the framing is where the money goes.