The massive Ali Qapu was originally a 16th-century gateway to the royal precinct, a kind of forbidden inner city. Today it’s a police post so don’t take photographs.