But why is the sentence "In case, there is an emergency, ring this number" incorrect?
Take out the comma after 'case' and it is quite correct:
"In case there is an emergency, ring this number."
Perhaps you are confusing this with:
He: I've got enough money on me for the movies.
She: Just in case, you'd better take this extra £10.