Court rules against Tshwane speaker over no confidence motion