I was thinking of rather earlier in history, but you are right.
My grandfather was studied Latin (and Greek) in school in Sri Lanka.