Forcing a trans woman to use a male bathroom or force them to compete on a male sports team is forcing the trans woman to be cisgender.
This is equivalent to gender identity conversion efforts, which every major medical association has found to be dangerous and unethical.