The court may raise all the provisions of this code ex officio in disputes arising from its application.
It shall exclude ex officio, after having heard the parties’ observations, the application of a clause whose unfairness is apparent from the elements of the debate.