30-year-old John Stokes was not entitled to a suspended sentence due to the gravity of his crime, Justice Patrick McCarthy said.