It shouldn't be a problem. I believe the VANOS-equipped M50 engines have a knock sensor, which allows the engine to adjust the spark timing to benefit from high octane fuel. Non-VANOS M50, M20, and M30 engines do not have a knock sensor, and therefore will not benefit from higher octane than recommended, and may be more inclined to carbon up if you use higher octane fuel than recommended.