How do you know `inputCRS` and `targetCRS` are both instances of `GeodeticCRS`? (no `instanceof`?)