I recently acquired an opinion penalty of tyranny for reasons unknown. The only two things I can think of:
I decided to righteously imprison someone via the popup, then somehow by the time the action was carried out the righteousness was invalidated, which should be impossible as imprisonment is instant. Maybe I opened the popup and by the time I clicked "Imprison" they had their plot auto-stopped.
I have all my vassal levies raised for more than -40 opinion. Every single vassal with the tyranny penalty also has a -40+ opinion penalty for raised levies and the tyranny penalty appeared at roughly the same time the levies penalty went past -40, but this isn't listed on the wiki as being tyrannous.
Are either of these possibilities and is there a way in the console to examine the tyranny penalty (to at least determine when it occurred).