The earth conductor would be terminated in its own terminal within a suitable junction box , along with the other conductors in their respective terminals, Your pic is not of a junction box by the way, that is just a terminal block which can NOT be just shoved up into the ceiling.
If the...