Here's why this works:
* Compound pronouns are formed by combining a pronoun with "-self" or "-selves".
* The case of the entire compound pronoun is determined by the case of the final pronoun ("self" or "selves").
* "Self" and "selves" don't change their form based on case.
Example:
* "Myself" - This is a nominative case pronoun because "myself" acts as the subject.
* "Yourself" - This is an objective case pronoun because "yourself" acts as the object.
* "Ourselves" - This is a possessive case pronoun because "ourselves" shows possession.
To sum up: To determine the case of a compound pronoun, simply look at the final word ("self" or "selves"). The case of the entire compound pronoun will match the case of the final word.