Yep, all correct.
Prepositions are said to 'govern' a case, meaning that they must be followed by a noun in that case. So, for example, a word belonging to the preposition 'ante' is always in the accusative; a word belonging to 'sine' always in the ablative. There are some prepositions, that govern two cases
Those cases have nothing to do with the normal function of these cases in the sentence. For instance, in the sentence: the cat runs before the window, you could replace 'before the window' with 'there'; e.g. an adverb of place.
Hope this helps.