The advertised range is based on the EPA test procedures, not something the manufacturer dreamed up. It's not at all "perfect conditions", the "official" European (WLTP) and Chinese (CLTC) estimates are much higher.
"As a rule of thumb, though, consider the EPA figure to be the most...