Level ground. A 2 watt motor can propel a bike faster than 20mph if you are rolling down Brasstown Bald. A thousand watt motor is going to have difficulty pushing you faster than 20 mph up Brasstown Bald.
The reason the law says level ground is because that is a non ambiguous standard.