InverseTransformDirection gives me wrong? x and y values

I’m trying to apply a direction vector to the local space of an object but i get confusing results.

For example i use the forward vector. First image shows the forward vector of the transform of the object and the InverseTransformDirection from a world space forward vector. This is all right.

3443836--272566--correct.png

Next i rotate the object 90 degrees on the Y axis, so now the object transform forward vector is (1, 0, 0) which is correct but the InverseTransformDirection is wrong. Shouldn’t these values be the same?

3443836--272567--wrong.png

Just understood my logical failure. Problem solved