Revised optical classification of a sample of gamma-ray-emitting active galactic nuclei with GTC and VLT | Synapse