I am not trying to use "tortured logic" to make a point; I really think this is how Wordpress themes work. Without a theme, Wordpress does absolutely nothing. The theme makes calls into Wordpress to add data and display data. Each theme is its own piece of blogging software that uses Wordpress to abstract away common problems. That's a library.
Another "application" that is actually a library is xmonad. It's a library for writing a window manager that works in a certain way, and it's your "config file" that actually uses the library in such a way as to make a window manager. This is not "tortured logic", it is just good software design. (Although in the case of Wordpress, it's not the right design. Themes should not be applications, they should be data.)