The initial definition of the meter would have been such that g=pi^2. It was then adjusted but enough for it to remain an interesting (if not too good) approximation.