(a) If a municipality shall enter upon property which it has the right to acquire by condemnation proceedings without commencing condemnation proceedings, the owner of the property shall have the right to commence condemnation proceedings against the municipality at any time before an action for the recovery of the property or compensation therefor would be barred by the statute of limitations.
(b) The measure of recovery in the action shall be the fair market value of the property at the time it was entered upon by the municipality.