RICHMOND, VA (AP) – The U.S. Supreme Court says a Virginia school board can block a transgender male from using the boy’s bathroom at his school until it decides whether to intervene in his case.

The high court agreed Wednesday to allow the Gloucester County School board to bar Gavin Grimm from the bathroom that matches his gender identity until the justices decide whether to review an appeals court ruling in his case.

The 4th U.S. Circuit Court of Appeals sided in April with Grimm, who argued the policy barring him from using the boys’ bathroom violated federal education discrimination law.

The school board says it plans to ask the Supreme Court to review the appeals court decision by late August.

The high court put Grimm’s federal discrimination lawsuit temporarily on hold.