The public law supporting mainstreaming