The phrase "hadst occasion for" can be translated to "needed" or "required". Other possible synonyms include "demanded", "necessitated", "called for", "enjoined", "mandated", and "compelled". Each of these words implies a strong need or obligation for a certain action or item. Additionally, "hadst occasion for" might also be replaced with more colloquial terms such as "had to have", "was in need of", or "had a use for". Whether used in formal or informal communication, it is important to choose the right synonym that conveys the appropriate level of urgency and necessity.