I'm about to enlighten the rule that I've never rule cared about in Russian, i.e. when to use singular or plural forms under certain circumstances.

As far as I can remember, it depends whether I use numerals, groupings (мы с братом ...), or words such as сколько/столько/много etc.
Сколько студентов пришло на лекцию?
Большинство россиян живут по астрономическому времени. (although "живёт" would also be true; exception: nouns/adjectives after words such as большинство)

However, I'm still puzzled by the ambiguity when it comes to numerals in the following sentence:
У нас в классе сидит/сидят 30 студентов.

I know that if I were to use сколько/столько/много, it would be сидит.
According to gramota.ru, talking about that kinda stuff in the past might also lead to "сидит", unless I show emphasis by giving clues by words such as все/эти (...)
"Все 30 студентов сидят ..."

Which one is correct in this situation: "У нас в классе сидит/сидят 30 студентов."?
I feel that in one way, I'd put emphasis on the quantity, while the other would talk about the details, quality, although this sentence doesn't really reveal much about that, since it's all about "sitting".
So, there must be a single solution for practical purposes, since "sitting" isn't a big deal.