Anti-Israel boycott ban: how is this possibly legal?

Putting aside the central issue for a moment, did anyone else get confused trying to figure out which side an “Anti-Israel boycott ban” was on?

Stated BDS positions do not appear compatible with this declaration.