Gakuto is keeping his class observation day from Hayato by using a stand-in. 
So that's what's going on.
Das war es also.
Conque de eso se trataba.
C’était donc ça, le problème ?
Ecco cosa c'era sotto.
Quer dizer que era isso.
Вот в чём дело.