No, the car wasn't inspected and I bought it from a delear.
I don't know if they offered me any guarantee that it would pass the inspection, although I paid for the registration (therefore the car needs to pass the inspection...).
The car was sold "as-is" without any repair guarantee.