Choose the sentence from the given options that is grammatically correct. Note here that the context of the sentence should remain the same.
In the given sentences, 'the apex court' is the subject or the primary 'actor'. So, it must directly refer to the verb of the sentence.
This is only shown by option 4.
The verb forms 'has/had/have been' ruled refer to the object of the sentence.
Therefore, the correct answer is option 4.