An Ontario court heard arguments Monday from a Toronto supervised consumption site challenging the legality of a new provincial law.