The law says
IRPA s. 6565 In an appeal under subsection 63(1) or (2) respecting an application based on membership in the family class, the Immigration Appeal Division may not consider humanitarian and compassionate considerations unless it has decided that the foreign national is a member of the family class and that their sponsor is a sponsor within the meaning of the regulations.
Sections this one cites
Justice Laws is the authoritative version. If this copy and it ever differ, Justice Laws wins.