The sworn translation of a transcript is usually requested when you want to study in Spain or when you want to validate a course or training taken in a different country.
The sworn translation of a marriage certificate can be requested for several reasons, among others, to get a divorce, to apply for citizenship in Spain or to register biological or adopted children. They can be literal certificates or certificate extracts.