A protein powder thief and a thief who targeted York Railway Station were among defendants sentenced recently at York Magistrates' Court.