Texas lawmakers overstepped their authority