Yep, octane numbers are determined by testing on an engine with a variable compression ratio. Higher rating means it will work in a higher compression engine without detonation. Pressure altitude, RPM, ignition timing, intake air temp, etc., are all held constant for the testing.
Also Beetle the euro fuels are rated on the RON scale and US pumps show (MON+RON) / 2. RON gives higher numbers, so 93 octane at a US station is equivalent to 98 octane at a frog station. Different rating systems, not different fuel.